Bug 963607 - add some consts, make cache members mutable, GetChildOffset part, r=tbsaunde