Bug 918138 - Move Borrowed*Context to a separate header file; r=mattwoodrow