Bug 734877: Implement a page actions api. r=wesj