Added null AR relation test for Twig extension
Fix for #2925 and #4290 (Twig does not properly support null attribute and relationship values)
Support for method calls on models from Twig templates
Fixes #4290: Fixed throwing exception when trying to access AR relation that is null