add convert file, exerpted from couchdbkit
Merge branch 'master' into convert
add ALLOWED_PROPERTY_TYPES from couchdbkit
add regular expressions from couchdbkit
clean up
remove refs to sets and SetProperty
fix line lenght
change some places to use the convert utils for type autodetection
Merge pull request #27 from dannyroberts/convert

Convert