Stop putting pkg_resources calls in .tac files. Closes #1539.