Half way
Fix Jia settings inheritance and add ALLOW_PYCODE setting. Fixes #144.
Merge pull request #165 from Locu/fix-144

Fix Jia settings inheritance and add ALLOW_PYCODE setting