Run initial grep test lazily

On Windows, grep doesn't exist. This patch allows the use of commoner-based transformers by piping through stdin/stdout when grep isn't available.

Partially fixes facebook/react#316, facebook/react#391, facebook/react#567.