Changes to pose confirmation behavior

- Previously, the rest pose was skipped when notifying about
  confirmed poses. Now it emits as well.
- All poses except the rest pose are checked against the minimum
  gesture duration before being confirmed. The rest pose gets
  confirmed immediately
White space fix, convert tabs to spaces