Cleaned for simple cache using.
Minor changes.
bugfix for too many open connections.
Removed unused and obsolete properties.
Rollback feature added

Included rollback functionality for changes made to the entity.
Information is gathered from entityinfo.
Rollback functionality and hash computing

Added the functionality to compute the hash by himself and save or
rollback changes made to entity.
Simpler deletion without delete property in entity.
Removed obsolete methods.
minor changes.
Removed obsolete using.
Minor changes.
Minor changes.