Unit test for userResolveConstant.js now works.

Updated to latest karma-jasmine, and now uses jasmine-core.