[entropy.locks] rename _GenericResourceLock to ResourceLock
[entropy.locks] add exclusive() and shared() context managers
[entropy.security] refactor System, add internal locking support, improve speed
[entropy.tools] get_hash_from_md5_file: do not hide IOError exceptions