Specify ActiveCMIS version in setup script(for development)
Move type definition settings to database

In place of a yaml file until now, type definitions and property definitions(other than base types) should be stored in DB.
All the subtypes(e.g. nemaki:document, as well as secondary types) definition data are already injected.

Also refactored TypeManager. Especially, integrate typeManager/fixTypeManager.
If dynamic CRUD of types is needed, please implement TypeMutability feature.

Some bugs in TypeManager(like that getTypeDescendants doesn't return cmis:item, cmis:secondary) are fixed by the way.
Fix update bugs with secondary types

Fix the modification to ActiveCMIS that hard-coded the allowable secondary types.
Fix some bugs caused by a property id including a colon.
As for the application of secondary types to an object, enable update of secondaryObjectTypeIds and secondary properties at the same time.
Fix a bug of getAppliedPolicies() when a content has no policy
Fix a bug of getVersionSeries() when no versionSeries exist

In particular, getObject(versionSeriesId), this is a work-around for Liferay, is apt to cause this bug after the content is completely deleted.
Merge pull request #14 from NemakiWare/secondary

Refactor type definition & Fix bugs in secondary type