Updated Ajax2 and first copy of test cases

Updated Ajax2 by adding responseType JSON shim until widespread browser
support.
Created first copy of the test cases, may be missing some tests and some
tests might fail.