Added irepository and iunitofwork interfaces and wrapped the repository implementation for future extension.  cleaned up some of the resharper errors present.
Added castle dependency injection and refactored the repository layer to be functional repositories with separated layers for testability. refactored the controller generation to use windsor injection with UnitOfWork factory injection
reverting a change that modified the orderitems behavior.  Saved order items in the orderItems repository ( in case the a database is added in the future this would be expected behavior )
Merge pull request #1 from gleibniz/RepositoryInterface

Repository interface