Update cache.py

Related to issue https://github.com/edoburu/django-parler/issues/49

Removed the "long" from the format of master_id, so now can support not integer values for primary_keys.
Added tests to cover the cache issue
Merge pull request #52 from cdelafuen/patch-1

Fixed cache.py bug and test