Allow object arguments to a few api calls

Just realized the last pull request was inconsistent with cancelOrder,
but since I have made an npm release with it that way, I want to make
sure it still works.

Both `cancelOrder` and `orderInfo` now accept an object or the order id
directly.