Add the term model, and missing relevant migrations
Fix up initialize database create Polls properly