Some changes in the Badges

* filtering badges on apply page
* allowed hosts set (in hope of avoiding more email)
* cleaning out the settings file
* a little tweaks on error templates
* new footer layout
* some housekeeping
* fixing tests so they pass (in travis)