use elasticgit instead of pygit2

Because elastic-git doesn't do any kind of relational thing whereas gitmodel did. `page.primary_category` in EG is a `uuid`, I've updated the view to load the `primary_category` directly and make it available in the template context.