tests: Force generation of shared libraries

If installed tests are disabled, we need to force libtool
to generate .so files that can be dlopened by introspection.

https://bugzilla.gnome.org/710697
build: rename all c file to cpp

https://bugzilla.gnome.org/show_bug.cgi?id=710878
build: update makefiles to build using C++

https://bugzilla.gnome.org/show_bug.cgi?id=710878
fix declaration of JSClasses to be valid c++ syntax

https://bugzilla.gnome.org/show_bug.cgi?id=710878
update to c++ types and api for JSHandle* Objects

https://bugzilla.gnome.org/show_bug.cgi?id=710878
update to c++ api for fop->runtime()

https://bugzilla.gnome.org/show_bug.cgi?id=710878
param.cpp fix jump over value initialisation

https://bugzilla.gnome.org/show_bug.cgi?id=710878
fix invalid syntax on proto_props resulting in unknown size errors

https://bugzilla.gnome.org/show_bug.cgi?id=710878
build: fix implicit pointer conversion errors

https://bugzilla.gnome.org/show_bug.cgi?id=710878