Model - PEP8 cleanup
Slightly less agressive caching in get_effective_*

Should speed up parsing in environments where there
are a lot of nested groups