Added event types for Resource Added and Removed
Code and tests for recording a resource delete
Recording deletes
Removed println
Big refactoring

The recordFileSave and recordRefresh were 80% the same. So, I merged
the two methods and the two cases are now by the if that was in
resourceChanged. This way, I can reliable work with resources in an
uniform way where i need to.
Extracted the method to get the file contents
Made two method private, since there was no need for them to be private
The getFileContents now logs it's own errors.
Added code and tests to record a resource add.
Recording an add.
Merge pull request #63 from caiusb/recource-change

Recording resource add/remove