Fixed the issue with google analytics by adding the skip_after_filter to skip insertion of code in Google analytics is disabled.

Removed the obsolete HEADER_MESSAGE from biocat_local.pre.

Tidied up Gemfile; removed extra empty lines.