Add extension superclass and exception

This implements the first step of the implementation plan at http://docs.mopidy.com/en/develop/extensiondev/

If this looks OK for now, please merge and we'll continue refinement in the develop branch.