ported more tests over and refactored the Formatter
* bunch of refactoring to use underscore instead of buggy loop iteration
* converted tests over to jasmine