pivotal/jasmine — pull request #378 by sheelc (2013-06-04 04:17:19+00:00)
Title: Avoid instantiating passed in errorType in toThrowError

since the passed in errorType could be a custom user function,
we instead detect if its an instanceof Error by using a Surrogate
(inspired by Backbone's use of surrogacy)