fixed bug with substitution arguments in all and map methods
added more tests
fix to allow testing of XHR's
fixed configuration bug by adding missing return value
made test helper function arguments clearer
removed obsolete comments from test files
added qunit tests

this commit currently breaks the build as tests are failing for unknown
reasons