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.