Allow for streaming AJAX requests (Issue #11)

This also includes AJAX tests, which resolves issue #5 (Add ajax test suite)
Consolidate extra test resources into one folder (/test/resources/)
Refactored AJAX/Websocket handlers to use same code
Added default error handler which prints the error to the console (does not throw error)