Experimental extensions model

This is a follow-up to discussions over there:

* https://github.com/docker/docker-registry/pull/493
* https://github.com/docker/docker-registry/pull/565

and ideas from @wking @ncdc and @smarterclayton (and others)

This is not necessarily a replacement for the other PRs - rather an attempt at formalizing the discussion into concrete code.

This may or may not be merged, depending on whether:

a. this does solve the needs of the people interested in extending
b. this is clear enough and simple to use (both for users and developers)
c. the maintenance burden is small on the core registry team

Opinions?
On Tue, Sep 16, 2014 at 12:14:18PM -0700, Andy Goldstein wrote:
> > +3. Create folders `docker-registry` and `docker-registry/extensions` in your package 
> 
> @dmp42 I tried docker-registry but it looks like it needs to be
> docker_registry with an underscore. Can you review & confirm?

I'll confirm that for him (should be an underscore ;).