Enable production mode on the config
Enable production mode in reconfigured packages.jsons
Expose main optimize function
Use CommonJS idiom to detect if being run as a command
Allow logging functions to be passed in.

Update spinner to fit new api.
Update all calls to console.{log,warn} to use config logging
Update out option to handle only some functions being passed in
Merge pull request #16 from Stuk/logging

Enable production mode, expose optimize API