clean up portions of security manager
finally fix security manager. Now, scripts will need to use some sort of Mosstest wrapper method to read arbitrary files.