add new methods for purging pages

Page.purge() and APISite.purgepages()
also added a test

Change-Id: I5ee059907684440491ef4e675ffe231cbe100929
Merge "add new methods for purging pages"