Move survey logic to show up on every page

Move survey from showing up on the homepage only to showing up on
(almost) every page in The Loop. The survey code is now a part of the
header file, so anywhere the header is included, the survey will also
be.