Merge pull request #3593 from 9rnsr/fix3032

Issue 3032 - No stack allocation for "scope c = new class Object {};"
Re-allow using delegate.ptr and .funcptr as lvalues
Merge pull request #3596 from yebblies/dglvalue

Re-allow using delegate.ptr and .funcptr as lvalues
fix Issue 3022 - scope x = new Foo; does not allocate on stack if Foo has allocator