renamed and cleaned up scraper code

* removed `import re` (never used)
* imported only the necessary parts of the urllib, urllib2, and
threading modules
* removed get_page and post_page functions (used only once apiece)
* renamed get_site_contents function to getPageContents (more
appropriate, as ‘site’ implies a collection of pages)
* opted for more readable variable names
* converted to camelCase