Added additional logging around the email-prefs form to try to understand why it is sometimes rendered as blank.
Fixing minor issues.
Merge pull request #3053 from guardian/email-prefs-logging

Added additional logging around the email-prefs form