OAK-1816 - Oak#createContentRepository never unregisters some of its services

Unregister the registrations via making ContentRepositoryImpl implement Closeable

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1605447 13f79535-47bb-0310-9956-ffa450edef68