Bug 963723 - Software home button should not be enabled if home gesture is enabled

WIP - needs tests.