Merge pull request #29 from MessiJS/issue-22/callback-selection-undefined

Break files out for better maintenance.
Wait for the dialogs to close.
Merge pull request #30 from MessiJS/more-tests

Wait for the dialogs to close.
Add a coveralls script to package.json.
Make html test page compatible with broken out tests.
More test updates.
Merge pull request #33 from MessiJS/more-tests

More tests
Partial solution to issue 22.