added basic login

 - refactored koast admin api calls into common metho 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)