Implementation of console functions. Pull request for issue #197

Description in ```./lib/ConsoleBridge.js```