added basic login

 - refactored all  koast admin api calls into common method in koastAdmin
 - load koast admin functionality on app load
 - added basic login functionality
 - fixed gulp karma test files so ```npm test``` will work (needed by magnum ci)