Merge pull request #108 from mcomella/test_shell

Add Shell tests
Merge pull request #101 from mcomella/clean_html

Remove excess HTML from SpecRunner.
Remove unused database member in Query and Cursor.
Add Cursor storeQueryResult test.
Fix reference errors in frontend.
Add Cursor._warnIfExecuted tests.
Add Cursor._executeQuery test (before execution).
Add Cursor._executeQuery after execution test.
Fix async bug in cursor.next/hasNext.

The methods were returning instantly when they should have been waiting
for the callback to finish. The associated AJAX calls were made
synchronous to compensate.

A few other bugs and code cleanup also took place.

The tests were updated accordingly, but note they need to be made more
robust as _executeQuery has additional functionality.
Add additional Cursor._executeQuery tests.
Add Cursor.hasNext() test.
Add Cursor.next() tests.
Add preliminary Cursor.sort tests.
Closes #93: Add DBQuery.shellBatchSize to locals.

Additionally added the associated test.
Add Cursor._printBatch tests.