Added cancel order capability to API.

Hooked cancel order functionality up to UI.