Fix name normalization (issue #126)

Name normalization should differentiate between class names and property
names to avoid name collisions and resulted compilation errors
Merge pull request #132 from khitrenovich/issue126normalization

Fix name normalization (issue #126)
Ensure outputEncoding is honoured

Workaround an issue in
com.sun.codemodel.util.EncoderFactory#createEncoder that causes the
encoding specified to be ignored (and the platform default to be used
instead).

Closes #131.
Update development version for 0.4.0 as the next release