fixed query conflict by changing query function to search function. added getEndpoint function to all endpoints. added clone() function to master module
adding example to demo/run.js for search and clone functions
changed getEndpoint to auto encode the url parts
added error checking to billsSearch search command