Add optimist to dependencies.

Trying to use the library and keep getting an error telling me that it doesn't know about "optimist".