Use optimist rather than optparse-js for parsing command line arguments.

optimist is much more wide-spread, so this eliminates an extra
dependency for most people.