Refactored project so it is consistent with the internal guidelines.

  - Altered directory/module structure to conform to guidelines
  - Modified karma task to use angular-filesort
  - Fixed some  tests which broke as a consequence of the structural changes (WIP)

@e-schultz please merge.