Core extensions management

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Merge pull request #111 from icecrime/extensions

More core adaptations