added contextRegExp to IgnorePlugin
fixes errors test
added typeof support for the DefinePlugin

#282
1.2.0-beta4