Project rename fixes
A recent database change renamed some fields. This patchset updates the model, view, and templates to match these changes, along with a few other fixes needed to get the projects pages running again. No new features are implemented, but there is some light refactoring and general tidying up.