Add an optional ``title`` to transitions.

Defaults to the transition name.

Closes #1