Add a clear-first option to populatePages script
Bug: T164407 Change-Id: I2602eb81a38016285d645b66c38d0b2ecc399d01