Bug 965326 - [mozprocess] Add poll() method to ProcessHandler. r=jmaher, r=ted