Fix title/description functionality

Only get the first title/description, remove all newlines, remove all superfluous white space. In an ideal world this would not be needed but I have experienced many sites with newlines and spaces in their title tags along with multiple titles. Sometimes the title is in <body> as well. At the time of writing ello.co has 83 occurrences of </title> on its home page. See here for another great title example: http://www.carphonewarehouse.com/phones/nokia-105/
Single quotes.
Change scope to head. Remove first() function.

Agreed - no need to use first() when most of the time the title and meta description will be in the 'head' section. I still think it is necessary to strip white space for sites that have newlines inside the single title tag though.
Merge pull request #1593 from ElliottLandsborough/patch-1

Fix title/description functionality