Refs #31, moves MediaFiles, Tag, and Upvote models to PDO from mysqli.