Implementation of console functions. Pull request for issue #197

[Description](./lib/ConsoleBridge.js)