AllowanceTables cache optimizations. Added 2 new helper functions.
Merge branch 'master' of github.com:webemedianet/stingle