Fix console.log() in Less::Loader Javascript context

fixes #46. first commit adds some spec for the `console.log()` and `process.exit()` stuff to be modified; second commit makes the change, after which spec should pass.

this doesn't  address how either of these functions behave, just stops `console.log()` from throwing an exception and makes sure it successfully writes to `$stdout`.