fixes for cpp, checking of return type modfiers, generation on c/jl wrappers
Merge pull request #73 from jpata/cpp_fixes

fixes for cpp, checking of return type modfiers, generation on c/jl wrappers