Support custom doc_type name for DocTypes

lowercase and underscore class name if not given
Add the option to create mapping based on an existing type in the cluster