fixes for C++ target
Merge remote-tracking branch 'origin/wip-develop' into wip-develop

Conflicts:
	dsls/optila/src/ppl/dsl/optila/OptiLA.scala
	framework/src/ppl/delite/framework/codegen/delite/generators/DeliteGenTaskGraph.scala
	framework/src/ppl/delite/framework/datastruct/cuda/cudaDeliteArray.h
	framework/src/ppl/delite/framework/datastructures/DeliteArray.scala
	framework/src/ppl/delite/framework/datastructures/DeliteCppHostTransfer.scala
	framework/src/ppl/delite/framework/datastructures/DeliteCudaDeviceTransfer.scala
	framework/src/ppl/delite/framework/datastructures/DeliteStruct.scala
	runtime/src/ppl/delite/runtime/codegen/CCompile.scala
	runtime/src/ppl/delite/runtime/codegen/CudaExecutableGenerator.scala
	runtime/src/ppl/delite/runtime/codegen/ScalaCompile.scala
	runtime/src/ppl/delite/runtime/codegen/kernels/cuda/MultiLoop_GPU_Array_Generator.scala
	runtime/src/ppl/delite/runtime/codegen/sync/CudaSyncGenerator.scala
	runtime/src/ppl/delite/runtime/codegen/sync/ScalaSyncObjectGenerator.scala
	runtime/src/ppl/delite/runtime/graph/targets/Targets.scala