Moved jasmine lib to test/lib directory and added karma test runner