Refactor modules and add Karma

* Refactored modules to have less boilerplate.
* Expose all modules through the Mimosas namespace
* Update tests to use the same require/globals code
* Add Karma. Can't figure out how to make it load HTML fixtures
  so had to update the view tests to manually add DOM elements.
Add Karma coverage

Also update source to better reflect inheritance in documentation.
There's a neat trick in CoffeeScript:
which exports the class in one line. But it confuses Codo so needed
to revert back to the  syntax. Not DRY, but OK
for now.

Additionally ignoring doc and test/coverage directory until I can figure
out if it would be better to check it in or if it should only be included
with builds.
Add Karma coverage

Also update source to better reflect inheritance in documentation.
There's a neat trick in CoffeeScript: class exports.Foo extends Bar
which exports the class in one line. But it confuses Codo so needed
to revert back to the exports.Foo = Foo syntax. Not DRY, but OK
for now.

Additionally ignoring doc and test/coverage directory until I can figure
out if it would be better to check it in or if it should only be included
with builds.
Merge branch 'karma' of github.com:dustinboston/mimosas into karma