section api: pull some queries outside of transactions to try to fix deadlock problems
Merge pull request #615 from code-dot-org/detransactionize

section api: pull some queries outside of transactions to try to fix deadlocks