Add some comments and test for the module BNFC.Backend.Common.NamedVariables
Small change in the variable name generation in java

This should resolve #60
Fix small haddock bug