Reset barriers if barrier color 0
closes #180
Merge pull request #183 from wushin/orum-torch-fix-fix

Reset barriers if barrier color 0
Update Submodule commit for version v2014.10.21