Move disabling logic from tools to commands

onUpdateState should only ever call setActive. setDisabled should
already be determined by the command so that it can prevent itself
being called by triggers.

Change-Id: Ifb90d1cc95de8710c287ad9026a4257325209d92
Merge "Move disabling logic from tools to commands"