added convenient isNewFormEnabled() to feature switch
[AI-327] - Ability to change name of database
[AI-456] - Allow change of Activity's Location Type
copied UserForm to keep initial state, in design mode user form can be changed, so we need possibility to reset it.
Merge remote-tracking branch 'origin/version3' into version3
added enum form field values
added enumerated field type
fixed imports
widget generation for enumerated field type
Merge branch 'version3' of github.com:bedatadriven/activityinfo into release
Revised api2 model classes

UserForm -> FormClass
FormInstance,UserFormInstance -> FormInstance
Cuids are used in place of Iris when identifying user-created objects.
We still use Iris for subclass/superclasses as they may refer not to user-created
content but external definitions.
Fixed compile errors
Fixing compilation errors
code cleanup :
1. adapted code to new structure
2. removed redundant classes
1. FormInstance object must be created before navigation to UserFormPage.
2. unify create/edit -> class and instance must exist.
draft for reference fields
added "isNewForm" flag
Merge branch 'release' into version3
removed state from form URL
Merge remote-tracking branch 'origin/version3' into version3