Create prune --production option to unbuild devDependencies

Resolves #2854