added custom event emitter for resource
added deep-diff dep
Merge pull request #1 from vforgione/dev

add in changes for event emitter