DATAREDIS-300 - Fix inconsistency with connection open() and close().

Extracted anonymous inter class from potentiallyRegisterTransactionSynchronization into RedisTransactionSynchronizer.
Fixed typos in comments.