purchase and tests

Working on a purchase class and testing with rspec, had to stub some stuff out in security and portfolio to make it run.

About to email the group, because I need a little help on how purchase should interact with other classes.