Fix Issue 6998 - std.container.Array destroys...

... class instances
Remove Ref template which was undocumented, unused, and had a non-working implementation.
Merge pull request #2079 from monarchdodra/6998

Fix Issue 6998 - std.container.Array destroys class instances
Merge pull request #2080 from AndrejMitrovic/DeadCode

Remove Ref template