Java enums - remove redundant typemaps
Correct messages displayed when running Java test-suite
Fixes for C enums used in an API and the definition of the enum has not been parsed.

For D, this fixes a segfault in SWIG.

Java, C#, D, Go now produce code that compiles, although the definition of the
enum is needed in order to use the enum properly from the target language.
Remove some useless code
Add C++11 constexpr runtime test
Add runtime test for commit 7a96fba836558f592dc5b37b32d1845f606e2efe
Fix out of source test-suite runs for Octave
Lua test-suite can now be run out of source
Fix potential bugs found by Coverity analysis
Merge branch 'master' into coverity-scan

* master:
  Fix potential bugs found by Coverity analysis
  Lua test-suite can now be run out of source
  Fix out of source test-suite runs for Octave
  Add runtime test for commit 7a96fba836558f592dc5b37b32d1845f606e2efe
  Add C++11 constexpr runtime test
  Remove some useless code
  Fixes for C enums used in an API and the definition of the enum has not been parsed.
  Correct messages displayed when running Java test-suite
  Java enums - remove redundant typemaps