removing thread-local cache for branch_setting
Merge pull request #4464 from edx/jbau/remove-branch-setting-cache

removing thread-local cache for branch_setting