More debounce bugs fixed

This update should prevent the system from getting stuck in a state
where the buttons never get updated due to a state change initiating a
tick counter increment and then never stabilizing at that state.  This
should limit this state to 9 cycles maximum before resetting both tick
counters. Time till stable or reset can be adjusted by changing the Tick
and ResetTick value checks for Pad1, Pad2, and Mouse.