Added autorefresh page for test.
Fixed bug in which an autorefreshing page in an inactive tab will cause Reporter to report on it in the active tab. Moved the active tab query up into changeURL so that the URL that triggered the visit event can be checked against the active tab's URL.
Whitespace.
Updated popupreporter to check that the reporter.url is good before trying to report.
Updated respondToWindowFocus to guard against using an undefined window, which chrome.windows.get passes the callback when the user has switched to a window outside of the app.