Remote debugging with jsconsole.com for Windows Phones

If window.console has not been defined, defines empty function for it and tries to connect to jsconsole.com for remote logging. Makes logging possible with Windows Phone (tested with Nokia Lumia 900/Windows Phone 7.5).