Updated requirejs configuration. Added an entry point file.
Updated the karma configuration and added an example unit test.