Support non-ascii class names.

See https://github.com/pantsbuild/pants/pull/101 for details.