Frame state

This pull request implements the frame state architecture, as described in [the wiki](https://github.com/openlayers/ol3/wiki/Camera,-Animation-and-Frame-State).