enable DEBUG logging in tests.
if we can't delete the file, make sure it still exists before we log an error.
This is probably me being crazy paranoid. But... whatever. One day someone will thank me for doing this.
adding method to get a resource file instead of a stream.
adding simple unit test for PluginServiceTest
Checks the two basic use cases:
#1 a valid file to download and install.
#2 a file that has a bad hash and errors out.