Backbone Refactor

As promised in #68 I rewrote the editor and menu code using Backbone. Not many big changes, it was a pretty clean transition to a View. I also added some tests using QUnit and there are docs on running them. It's not 100% coverage but it's more than a good start (enough for me to call #32 fixed).

Happy to take any feedback!