Test namespaces in Haskell and Java
Fix namespace in haskell with -d option

When using the language name in the namespace, convert it to a valid
haskell module name.

e.g. my_lang.cf -> MyLang.Abs...

(As a side effect, whithout -d you get AbsMyLang.hs instead of
Absmy_lang.sh)