add ability to unload a module whose file has been deleted
add check to make sure module exists before attempting to load it
Merge pull request #316 from JohnMaguire2013/reloading

fixing some bugs related to loading