Simplify context issue by first setting a new cwd, then requiring grunt. This scopes grunt to the Modernizr directory and avoids manipulating upstream context.
Remove exit, it can cause upstream processes to bail too soon.
Adding tests for programmatic API.