Added optimist to package dependencies

fixes #4