Added Custom QueryBuilder

Also made some changes to JDOs,CRUDify,Test class...