Eng 6040, add support for remotely invoked System.gc()

Already implemented, but needs some cleanup. Run the call in a dedicated thread so as not to block a network thread. Return the timing result in a table so it shows up in tools like sqlcmd and web studio. Also add support for invoking @GC from studio and sqlcmd.