Add on and un methods to ol.Object

With this one can register and unregister event listeners using `on` and `un` on any `ol.Object` object. For example:

```
map.on('dragstart', function() { window.console.log('dragstart'); });
```