Completed Book, CD and StockExcpetion unit tests.

Reworked StockRepository to use a dictionary instead of a list.