work offline
Add base for new unit-testing on mocha and chai

 With this commit all necessary dependencies have been added to
 have a minimum toolset to work with karma, mocha and chai for
 unit-testing.
New unit-testing files for use with mocha and chai
Remove old YUI-based unit tests
ignore tests/vendor as it is created by bower
add test/coverage to .gitignore

 test/coverage is a directory containing Code-Coverage information
 on karma/mocha unit-tests.

 Given that we plan to refactor a whole chunk of boomerang post setting
 up all the unit-tests it is important to get all code-paths to the
 unit-tests
Remove unnecessary parts of karma-runner config from Gruntfile.js

 Most none grunt-task related configuration is moved to karma.config.js

 The goal is to remove clutter from Gruntfile.js
Add "karma-coverage" for unit-test code-coverage to devDepencies

 Code coverage is relevant to for refactoring purposes see
 bluesmoon/boomerang issue #40 for more information.
Fix indentation and point to built version of boomerang.js
Extend test coverage
add 00-logging.js to tests/index.html
change basePath to project root to not confuse karma

 The karma-runner has a bug where on Windows the HTML-coverage report is
 saved next to the source file that was tested ie. in build/ next to
 the tested boomerang-0.9.0.js file instead of in the configured
 tests/coverage directory.
Split up 02-utils.js in seperate files

 Testing BOOMR.utils in its entirety is a bigger set of tests that
 becomes unwieldy to navigate even at only a few functions covered.

 Splitting this into manageable chunks based on the function that is
 supposed to be tested makes it easier to work with.
setCookie unit-tests: add no argument test

 This test was not in the suite but discovered using coverage reports.
Initial set of tests for BOOMR_check_document_domain

 This test-suite is supposed to test the global function
 `BOOMR_check_document_domain` function which is necessary for iframe
 traversal should boomerang be called inside an iframe. It is not
 complete and will need investigation into mocking iframes.
Merge pull request #16 from andreas-marschke/tests-migrate-mocha

unit-testing migrated to mocha
Merge branch 'master' of github.com:bluesmoon/boomerang

Conflicts:
	tests/test-boomerang.html
	tests/test-boomerang.js
	tests/test-helper.js
better logging of objects to console
add flag mentioning that boomerang was loaded late
add check for boomerang loading too late, and massage load time in that case