The following changes have been made.
- Test cases for common components and individual resources.
- Setup karma + jasmine test environment.
- Setup eslint environment and rules.
- Code style adjustment to satisfiy eslint rules.
Change-Id: Icb3e48be11beaebc4e410644c62e0df86b345207