addPreRenderFunction renamed to beforeRender

https://github.com/openlayers/ol3/pull/972
Make ol.Attribution take an options object

https://github.com/openlayers/ol3/pull/947