altos: Add debounce helper. Use in button and quadrature drivers for TeleLCO