generalizing templates -- specific verbiage still in views.py

I had time to move everything out of the templates, but not to create and test new functions to replace all the declarations made in views.py that pass variables to the templates, pulling the info from bagekit-api. 

The next step is to list all the items needed by the templates, figure out what can be pulled from badgekit-api, and then devise a strategy to get the rest from the environment or otherwise from the parent project.