State as string

TER expects `state` to be a string.

Changing the type in the `validate` method is probably not the best way to do it. But it works as a quick fix. I tested the upload here:

http://typo3.org/extensions/repository/view/fs2

The state is now displayed correctly. It was "N/a" before.