moving source files to a src directory
fixing a json syntax error
ignoring ide and bower files
configuring karma and bower, for running angular unit tests
adding automatic reauthentication support. now there's a new injected dependency: AuthenticationService.