Add getRevision to api

The revision can be useful for instance to check if a feature has been modified so I'd like to see it in api.
Merge pull request #2245 from sweco-sebhar/patch-1

Make `ol.Observable#getRevision` exportable.