Adding cli to covershot.js so that it can be called from other tasks. Added outputDirectory option to generate method so it can be passed in dynamically