add jasmine specs for projects.js and event_countdown.js, added jasmine spec_helper.js
used createSpyObj where relevant, reordered tests, reduced whitespace