updates for funder and context
Added Persistent flag for queries; added cache clean up after migrate
merged all stats versions
Moving the php stats code to the new dnet40 branch