WIP: Functional tests

- [x] Setup intern
- [x] Test unauthenticated index
- [x] Test sign in
- [ ] Create mock device that responds to commands
- [ ] Bootstrapping script
- [x] Test ring
- [ ] Test lock
- [x] Test erase
- [ ] Extract constants
- [ ] Add tests/* directory to JSHint/JSCS Grunt paths
Cool sounds good. Thanks!