Stop duplicating investors for a category
Test getCategoryIndex and getPortfolioIndex
Merge pull request #227 from krazemon/investordedup

Stop duplicating investors for a category
Merge pull request #230 from krazemon/getIndexTests

Test getCategoryIndex and getPortfolioIndex
Fix merge conflicts