Big cleanup of posts/utils.py, removing a lot of essentially unused access functions and cleaning up calling code