Bugid: 1346546 : Phoenix T2 tests failed with many core files

a) For T2 code, set the env variable TM_ENABLE_CLEANUP to 0
   in the JNI function checkLibraryVersion (conn/jdbc_type2/native/SqlInterface.cpp)

b) Correct the interpretation of TMLIB_ENABLE_CLEANUP in the TM library code

Change-Id: If793e7af96dd82e5e56f65708c27ad3fba94ac78
Merge "Bugid: 1346546 : Phoenix T2 tests failed with many core files"