fix Issue 12981 - Can't refer to 'outer' from mixin template
fix Issue 13003 - Lack of read-modify-write operation check on shared object field
Merge pull request #3701 from 9rnsr/fix13003

Issue 13003 - Lack of read-modify-write operation check on shared object field
Merge pull request #3700 from 9rnsr/fix12981

[REG2.008] Issue 12981 - Can't refer to 'outer' from mixin template