Use Postgres instead of JSON

Hey @tylrtrmbl! This is halfway there.

Things we need to do:
 * Move redirects to Postgres
 * Update the redirects controller to grab data from Postgres
 * Move server connection stuff to `config.py`
 * ???
 * Profit!