Added getLoginPage() method

 - Loads the router login page
Added calculateHashes()

 - mimics what in-page JavaScript does to create hashes
Added extractJavaScriptVars()

 - Given html this extracts given list of JavaScript variables