To support a non global jQuery many scripts had to be wrapped in module
definitions. On the same vain the cD object had to be changed from being global
to being AMD compliant.

Also during this process I found that jQuery Snipper requires
jquery-migrate-1.2.1 to function as it uses the old $.browser function which
was deprecated and removed in jQuery 1.9.
Merge pull request #234 from nigelgbanks/issue-234

Remove requirement for global jQuery
Added non global jquery to cwrcWriterInit
Fixes #235
Initial move to new dialog forms

Improving support for separate forms for each schema
Added non global jquery to tinymce
Refactored entity mappings and annotations

Removed unused schema files.
Moved entity dialogs.
Converted all tabs to 4 spaces
Removed reference to non-existent entity file
Changed jQuery to $
Added missing requirejs text plugin
Schema forms, mappings, and entity improvments

Refactored mappings, new entitiesManager and entity classes.
AttributesWidget listens to changes on other form elements. DialogForm
improvements including validation support.
Undid accidental URLs update
Update CWRC-Dialogs label mapping
Get dev templates if on dev branch
Changes to textTag and entity xpath

Now supports an array of textTags.
Now supports xpaths for documents with no default namespace.
Checks for null element in lookup

Stops #240 from completely breaking.
Changed help link

Fixes #241
Added Entity.getTag and schemaManager.getCurrentSchema.

Support for properties when updating entity info and in
getReverseMapping.
Added properties mapping to schema dialogs

ID now passed to schema dialogs.
Added test user login for cwrc-dialogs.