C++ memmgr: use shared_ptr
C++ memmgr: release activation records after combine or postprocess
C++ memmgr: fix issues related to memmgr type switch
Merge branch 'cpp-refcnt' into cpp-fix

Conflicts:
	runtime/src/ppl/delite/runtime/codegen/sync/CppSyncGenerator.scala
remove debug message from C++ file read
Merge branch 'develop' into debugger

Pulling changes from develop