Refactor default screen resize into SilverStripeContext

Rewrite of fix for #65
Fixes #66

This has been run on my cms fork and it seems to work fine.

https://travis-ci.org/tractorcow/silverstripe-cms/jobs/32506291