Add migrations and fix some bugs

Add migrations and fix some bugs

migrations for two contexts: ApplicationDbContext and EFDbContext
(see http://stackoverflow.com/questions/21537558/multiple-db-contexts-in-the-same-db-and-application-in-ef-6-and-code-first-migra)

fix some errors in data models definition.