Add ol.Object#getProperties

This is much faster than calling `getKeys` and then `get` on each key.