Added some logic in the parse class

changed some stuff to meet coding standards.
http://pear.php.net/manual/en/standards.php
Added RequestParserTest, and removed unused code
added test testDetermineSearchType
trying to fix failing tests
RequestParser tests all Pass
all tests passing, with mock JSON return data

As of now RequestJSONResponse.php is just returning a string. Need to
actully populate some object and then convert the object to JSON
mock tests added, and added some encapsulation