configure.ac: print configured languages at end of configuration
Fix segmentation fault in some Javascript examples

- memory allocated with malloc() was then being freed with delete[],
  which is overridden by Javascript libraries (jsc), leading to segfault
- replacing malloc with %new_array seems to work though
Regenerate configured Makefile if Makefile.in or config.status have changed
CCache/Makefile.in: fix to allow out of source tree check/install
Add "make maintainer-clean" to Travis CI build
Allow examples and test-suite to be built out of source tree

- Examples/Makefile.in rules use SRCDIR as the relative source directory

- ./config.status replicates Examples/ source directory tree in build
  directory, and copies each Makefile to build directory, prefixed with
  a header which sets SRCDIR to source directory

- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir

- Examples/test-suite/errors/Makefile.in needs to filter out source
  directory from SWIG error messages

- Lua: embedded interpreters are passed location of run-time test

- Python: copy run-time scripts to build directory because of 2to3
  conversion; import_packages example copies __init__.py from source
  directory; test-suite sets SCRIPTDIR to location of run-time tests

- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
  can be substituted with SRCDIR; removed './' from require() statements
  so that NODE_PATH can be used to point Node.js to build directory
Slight simplification of test-suite build for new out-of-source changes

Provide default SRCDIR and SCRIPTDIR variables in common.mk and override
only where needed.
Update all languages to use SCRIPTDIR

R also to use SCRIPTPREFIX and SCRIPTSUFFIX
Partially fix R out of source test-suite

Fix when there is NOT a runme.R file
gitignore to ignore build directory names
Remove unnecessary make invocation when running test-suite
Add in CPPFLAGS and LDFLAGS to examples/test-suite

- Split current usage of CXXFLAGS into the conventional CPPFLAGS CXXFLAGS and LDFLAGS
- Split current usage of CFLAGS into the conventional CPPFLAGS CFLAGS and LDFLAGS
- This restores 'make whatever CXXFLAGS=-g' which stopped working during
  the recently added suppport for out of source builds.
- LDFLAGS is currently empty, but is there for future use
Remove duplicate test target in CCache Makefile
Neaten up test-suite Makefile regeneration
Fix out of source clean-android-examples
Configured languages display improvement
Merge branch 'kwwette-out-of-src'

* kwwette-out-of-src:
  Configured languages display improvement
  Fix out of source clean-android-examples
  Neaten up test-suite Makefile regeneration
  Remove duplicate test target in CCache Makefile
  Add in CPPFLAGS and LDFLAGS to examples/test-suite
  Remove unnecessary make invocation when running test-suite
  gitignore to ignore build directory names
  Partially fix R out of source test-suite
  Update all languages to use SCRIPTDIR
  Slight simplification of test-suite build for new out-of-source changes
  Allow examples and test-suite to be built out of source tree
  Add "make maintainer-clean" to Travis CI build
  CCache/Makefile.in: fix to allow out of source tree check/install
  Regenerate configured Makefile if Makefile.in or config.status have changed
  Fix segmentation fault in some Javascript examples
  configure.ac: print configured languages at end of configuration
Travis testing - add folding to less interesting commands

See https://github.com/travis-ci/travis-ci/issues/2285 for fold syntax info.
Travis folding correction
Another Travis folding correction