select_related tablefy fields

This should eliminate a lot of unnecessary queries and improve performance. This hasn't been tested with a full migration yet, and the Django debug toolbar should be used to see the generated SQL to verify that all of the redundant queries in all of the views have indeed been removed.