Use mocha & testling for testing
Allow note models to be created with a project in options
Fix indentation in js tests
Force Backbone to always return URLs with trailing slashes
Add base model for items which require a project
Refactor models to account for new base models

That means inheriting from project_specific_base.js instead of checking
for the presence of a project instance; removing trailing slash URL
logic; and defining urlRoot methods based on the assumed presence of a
project.
Add chrome & ie to testling browsers
Fix circular import
Split project-specific base tests from note model tests (js)
Add a couple simple tests for models
Refine Topic model in backbone

The id attribute is now a combination of the topic_node_id and the
project slug. This composite attribute is created in the `parse` method
of the Topic model. This means that when feeding data to a Topic,
`{ parse: true }` must be passed in options.
Fix typo in test
Add a RelatedTopicsMixin which updates models' related_topics attr
Tweak handling of related topics in API and in Backbone

In the nested representation of topics in the API, I've added an 'id'
attribute, which is the ID of the topic, *NOT* the TopicNode id. This
was becoming a pain to deal with and might not even really be useful.
Additionally, I changed the `name` attribute in that nested
representation to `preferred_name` for consistency.

I updated Backbone models and tests to reflect this change. Everything
should be a lot simpler now.

API tests and ElasticSearch mappings and queries updated as well.
Shim non-commonjs packages instead of assuming globals

This makes things testable, but also increases build time and file size.
But testing is important right now.
Remove unused related_topics collection
Change jquery shim to work more better

In 03eb167, we started to shim non-commonjs modules. Jquery plugins are
terrible, however, and require window.jQuery. In the interest of
simplicity, I've added a shimmed jquery (which is exposed to `window`)
in editorsnotes_app/js/jquery.js which includes all the plugins that we
use. Instead of doing require('jquery'), modules should require that
file.

Also, disabled jquery.ba-bbq, because it's not compatible with
jquery@1.11. I think it's because of browser detection code being
removed. It's ok, because we shouldn't even really need it anyway with
Backbone able to take care of routing.
Add tests for autocompleter widget
Fix missing assertion in models test
Add sinon.js to dev dependencies