Add deferred responses for loading and authentication and ensure that E2E mocks are not included when building dist
Add karma for test based development and update the readme file with new details