Apple is to allow parents to share their children's ages in order to limit access to apps under new proposals.