Export ol.Collection#getArray

This PR suggests exporting ol.Collection#getArray. Currently, we export all the public functions of ol.Collection.prototype except for getArray. There are use-cases where getting a reference to the underlying Array object is needed. It is for example needed when working with Angular's repeater - ngRepeat indeed expects a POJO.