Issue #2229887 by drkloc: + Set dataset revision increment when resource
change to happen during cron runs + Populating DrupalQueue avoiding
hook_cron + Counting dataset ref nodes to see if we update the queue
+ Attaching groups to resources with datasets
+ Making sure groups action is not triggered if groups does not exist
+ Minor changes to avoid exceptions with tests (initializing arrays) + Moving all hooks to .module file + Removing .triggers file