Add missing transaction in InternalNext (to control when the post-commit action are done for decl read from pcms)
Add missing re-attach nested transaction to parent after a reset in beginTransaction.

This fix the assert failure:
   endTransaction(cling::Transaction*) const: Assertion `T->getState() == Transaction::kCollecting' failed.
Avoid using ClassInfo_Next to do a lookup by name!