Changed method visibility and comments
Added new methods: getQuery() and isXmlHttpRequest() And Unittests
Removed tracing