Use AngularUi/CodeMirror directive

Hey,

I'm just firing this up as a pull request rather than directly merging because i can't get any automated tests running atm and I don't want to break anything :(
I'm hoping to add more to this and refine it in the future, of course :)
 
Main points of interest for this PR

- Added AngularUi  - I've manually built and modified the source directly to support some dynamic CodeMirror config changes, I hope to contribute those code changes back to AngularUi once I have tests written for it
- Upgrade the existing CodeMirror to 3.0 and add some type def files
- Add some basic configuration to the preferences page

Related issues

- hawtio/hawtio#49 - Add configurable preferences for CodeMirror
- hawtio/hawtio#51 - Add a global preferences/config service
- hawtio/hawtio#28 - unit tests required for common operations (send to queue, browse queue, trace route etc)

Be sure to let me know if you're unhappy with anything!

Cheers
Alan