fixed using statement in REPL for both Roslyn and Mono
avoid null references in LINQ except
Merge pull request #711 from filipw/710

Fix using in REPL