test localStorage and sessionStorage on page load and report a beacon with the result
fix up jscs errors
small non functional tidyup in response to comments
Merge branch 'master' into localstorage-stats
Merge pull request #6899 from guardian/localstorage-stats

add beacon to find out whether localStorage and sessionStorage work on page loads