added support for the --production flag

I added a parameter to install() to support an ```opts``` object. If ```production``` is set to a truthy value on the ```opts``` object, the ```--production``` flag is appended to the command-line args.