more typo fixing
Feature: added support for collecting popup (confirm/alert/prompt) messages
and providing default value for different Javascript popups.

1. All the different popup messages collected in popup_messages list.
2. You can pass default value to use for confirm/alert/prompt dialogs, without
the need to use the with statement (in case you just want the popup to go away).
3. Little refactoring to GhostWebPage: I'm passing the Ghost object to it,
so we won't need to use global variables. This refacotring can later be applied
to _alert and similar variables.
Added custom exception classes for Ghost and use of them
Merge branch 'feature_collect_prompt_messages' into all_three
Exposing the exceptions classes
Merge branch 'exceptions' into all_three
Test case for response with "no-cache" headers.
Fix: if content isn't available in cache, then read it directly.
Move PySide specific code to only one place; make tests pass for PyQt too.
Merge branch 'fix_no_cache_headers' into all_three
Apply unicode decoding to all content
Merge branch 'fix_no_cache_headers' into all_three
Fix: if final URL contains hash, no page contents will be returned.
Merge with hash url fix
Merge pull request #79 from EverythingMe/fix_no_cache_headers

Fix: pages with "no-cache" headers returned with no content
Fix: if final URL contains hash, no page contents will be returned.
fix viewport being reset to 800x600 on ui-show
render whole page on capture
get correct content-size before img-create
redirect QT log through python logger