figured out how to test js. this involved tweaking the spec setup and using the database cleaner gem.

unfortunately, the tests are slow as molasses now.

fortunately, the permission creation/update/etc are now being tested!

this closes #5.
Merge pull request #6 from pomalley/5-testing-js

figured out how to test js. this involved tweaking the spec setup and us...