Added fix for query (?) or hash (#) params in the form http://domain.com?poo to return '' empty string instead of undefined.
-updates tests to use deepEqual which uses === instead of == for comparison
-add some tests for query (?) and hash (#) params