fixed year in ug search message
changed code to hide the course year warning message for search pages
fixed newlines in warning messages
Merge pull request #556 from unikent/develop

develop to master