reload-code (with no args) should reload 'current file'

This should fix #920.
Also added a guard for !code_object.source_file, this existed on 0.9.12
but for some reason was not on master.