Add an optional 'title' to states

Defaults to the state name.

In ZCML, the 'title' should now be carried as an attribute of the
'<state>' element, rather than as a '<key>' sub-element.
Replace deprecated class-advice declarations.

- 'implements' -> '@implementer' class decorator.

- 'classImplements' -> '@provider' class decorator.