Use CodeMirror for editing Docworks ready files

@JonathanShaw can you review and merge this?

Before:
![screen shot 2013-09-06 at 1 53 53 pm](https://f.cloud.github.com/assets/10588/1093651/fe16caa0-16a7-11e3-8cf4-9d1f49a93e00.png)

After:
![screen shot 2013-09-06 at 1 53 33 pm](https://f.cloud.github.com/assets/10588/1093649/fa2f10be-16a7-11e3-8de0-8abedc7435ec.png)

I think we should also consider removing the "view" page for DocworksProfiles and only have an edit page.

This also fixes $("form").validate() erroring due to jQuery not having been loaded by that point.