Implement debounce class

This implementation simply checks if the current pose has been held for
at least the specified amount of time and only then does it trigger the
pose.