Added location handling to tabs in content/edit view when refreshing page, added settings model and migrations