Fixed a bug in the optimization step. Added a test.
my previous patching of node-cryptsy broke it's error handling. Fixing that.
fixing a bug in the 'cancel all orders' code - it needs to not send it's callback function as post data...
updated cli to use readline instead of repl because it's a better match for this use-case