Relativise url. Get hostname from a map.
Construct correct viewer url
Explicitly set the session.secure flag to true
creating emitters for window events
Return empty json when segment doesn't match any ad
No session secure flag for applications running in DEV mode
better creation of event listeners
Push JVM memory metrics to Cloud Watch
Merge branch 'master' of github.com:guardian/frontend into memories

Conflicts:
	commercial/app/Global.scala
	common/app/common/metrics.scala
Don't fire off metrics during test runs
Don't fire off metrics during test runs
Provide Trail objects in most popular onward
Add json endpoint to render onward journey cards and trails
Merge pull request #2282 from guardian/memories

Push JVM memory metrics to Cloud Watch
Return 404 when no ads match a given segment
Merge pull request #2279 from guardian/kc-no-matches

Commercial: Return empty json when segment doesn't match any ad
Pressed the spacebar a few times
Merge pull request #2285 from guardian/onward-json-trails

Provide Trail objects in most popular onward
Merge pull request #2286 from guardian/id-to-card

Add json endpoint to render onward journey cards and trails
Better concatenation