Add possibility to reverse the order and limit the number of revisions r...

...eturned by getRevisions()