An Embraer 175 operating a flight from Everett to San Fransisco, diverts to Portland after the off-duty pilot attempts to shut off both engines with the fire handles. The pilot is subdued and arrested after landing. There are no injuries.