Added Position.getActiveOrders and Position.getShares.
Added more sanity checks.
Making Strategy interface more simple.
Added a testcase.
Active orders is now a dict.
Removed onBar from Position since its not used.
Position will register the exit order himself.
Deprecationg auto exit on session close for positions.
Merge branch 'position-refactoring'