Lifespan of DbContext and creation of repositores.

ContextFactory togeher with changes in Global.asax handles the
lifespan of the DbContext.

Added the TodoRepository and updated the TodoController to
use the repository and have a basic view.