Fix configuration for ctest with Javascript/v8.
Turn on Swig_cparse_cplusplusout for Javascript/v8.
Fix generator for Javascript enums.
SKIP_JAVASCRIPT only when there is none of v8/node/jsc.