pass scriptname to REPL and invoke as #load if it's not null
-repl should not be an ignored arg - otherwise there's no way to drop into REPL from script
tests for #load into repl
better formatting
Merge pull request #433 from filipw/338

Pass a script name and -repl flag - executes script and launches REPL