Chore/cleanup

Clean up the repo generally, upgrade jasmine. individual commits should be pretty self-explanatory.