added type (Buy/Sell) to getHistory, added more ticker data
[FIX] getOrders callback not called in the expected way caused error

fixes this error:
TypeError: Cannot read property '0' of undefined