Fix exception that was occurring when requesting a binary file by Guid
Fixes #257
Removed interface for IRepository since all the methods in this class are fairly specific to SQL, and changed references to this interface to use the EFRepository.  Note, this is not the IRepository<t> class used by the code-first models.