Adding most commonly used parts of window.console. Fixes Issue#506. r=Ms2ger