Setup Karma's unit testing environment
Update test templates to use RequireJS