Improve z left shape's state machine.

- Move initialization code into a state
  transition.
- Express from states in case conditions.
- Also add attribute change listener to
  netris-block to position from data-*
  attributes.