Transformed apply() to make it work in IE8's with weird callable object console methods. Fixes #21, fixes #27.
Fixed bug in error messages for invalid level setting (and added corresponding tests)