removeDependencies
This method removes all the dependencies (both in and out dependencies) for a given reaction handler. This method is meant to be used in order to keep the dependencies clean when removing a reaction.
Parameters
reactionHandler
the reaction handler whose dependencies will be deleted.