Jasmine testing controllers

A whole bunch of tests for the Firebase Controller.

This should give us good coverage to ensure our functions are all calling each other appropriately.