Check for NULL when looking up getenv("HOME").
fix bug in Expression::extractLast
fix use of NrvoWalker

If fbody is the rewritten statement, the replaceCurrent should modify the fbody.
[Refactoring] fbody->semantic() does not modify FuncDeclarataion::type
[Refactoring] CtorDeclaration::syntaxCopy()
fix Issue 13336 - auto ref return deduced to be ref despite return value coercion
Merge pull request #3980 from quickfur/issue12130

Check for NULL when looking up getenv("HOME").
Merge pull request #3979 from 9rnsr/fix13336

Issue 13336 - auto ref return deduced to be ref despite return value coercion