Merge pull request #39 from MessiJS/increase-test-coverage

Fix gulp concurrency issues.
Merge pull request #40 from MessiJS/increase-test-coverage

Added karma-coveralls.  Code coverage is finally working!
Use npm version of mocha and chai.
Tests are now faster and more reliable.
Clean up dialog creation logic a little.