Update ol3 and changes

There were some changes in ol3 master concerning the exported functions/properties of ol3 events.

This PR updates to current master in ol3 and adapts our code for it to work.

See #1013

https://github.com/openlayers/ol3/commit/61ed9a106c1f746ef3834cd2a14b840f0c0f71a5