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