Allow linking to locations within grains

This works by adding a query parameter `location` to grain URLs
Add message handler to allow setting location in url from child iframe