Variable consolidation and logic; tidying.

Removed the social media variables from course.php, frontpage.php and general.php; added into header.php with extra logic (as header.php is common to all layouts).

Sorted out the footer copyright info being pulled through correctly.

Removed underlines from social media icon links.

(This PR consolidates some changes from #1 which I wasn't happy with, sorry about that.)