Merge pull request #290 from gvsboy/master

fix(TreeRunner): fixes listeners for IE comaptibility

Internet Explorer needs a special addListener method since attachEvent isn't always
available. This adds a common add/remove listener function to the globals, which is
used in both the main Inject file as well as the nextTick function. In addition, some
cleanup was done in the TreeRunner file to improve readability.
fix(RulesEngine): Adds support for calling define() with no base URL

In some scenarios, it's possible to call define() without the base URL
being defined. In these scenarios, we were throwing an exception
that we couldn't proceed further. This wasn't entirely true. This change
uses the location.pathname property as a fallback, and reduces the error
to a warning.

This allows named AMD modules to function by including them via a script
tag, even though a module root hasn't been configured.
Merge pull request #291 from Jakobo/inline

fix(RulesEngine): Adds support for calling define() with no base URL