Labor and Greens hammer out deal to see Shane Rattenbury in Cabinet, Joy Burch as Speaker