Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke.