Linting, cleaning, and improving API consistency (all promises in $firebase resolve to ref).
Renamed firebaseRecordFactory file