Issue 1369 - getMember doesn't work for variables in aggregates

http://d.puremagic.com/issues/show_bug.cgi?id=1369

I've taken over the issue 1369 from @AndrejMitrovic .
Old discussion is here: https://github.com/D-Programming-Language/dmd/pull/1454