OAK-562: Clean up duplicate name conversion in plugins/nodetype

Refactor type template classes to use Oak names internally and to better
avoid code duplication. Instead of extending the builder base classes
from jcr-commons, we implement everything locally to be able to better
share the name mapping code and to avoid extra CND handling complexity.
As a consequence we use CndImporter instead of the lower-level
CompactNodeTypeDefReader mechanism for importing CND files.

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