Merge pull request #212 from coryasato/master

$stateMock added for ui-router sanity
Completes auth.js tests
Adding tests for timeshift.js and main.js