Added title and changed to migrations

Added titles to pastes.
Started using DB migrations.