implementing shiftForm directive to handle backend interactions
Fixed some broken tests
Brought in underscore, added content types sorting and fixed some minor glitches.