Expanded the query_craigslist() function to accept all of the apparent search parameters for the craigslist json api. Also cleaned up the code a bit using locals().