Added some preliminary support for the Pointer Lock API

A game can now be "modal". This means it will request for pointer locking on click.