Added index charting functionality

- Moved indexing example into a unit test
- Added unit test for both price based and index base indexing
- Added charting of index on a day by day basis