Merge pull request #78 from mastercoin-MSC/database-staging

Sync to Master
fix property type calculation
fix Boolean names and variable name
Merge pull request #1009 from achamely/dbstaging

Change propertytype to use actual spec definition