Fix validation attributes

The validation attributes were not correctly overriding the IsValid.
Break out Entity Framework type configurations

Made the code for integrating EF configurations more dynamic.
Made sure that no database initialization took place on EF
initialization.