Complete revision of codebase

Uses latest grunt format, updated tests, uses jasmine, just overall better