Moved RC purge logic to RecentChange::purgeExpiredChanges().

* Also deferred the change to onTransactionIdle().

Change-Id: Ife8a06c0ac9230bfe564d17c33f16cb989c8bc24