Bug 829509 - Reset issues solved

Function setNextReset fixed.
Redirecting ConfigManager of message_handler.js to the object of its parent to avoid weird conflicts (just when not in standalone mode)
Giving some time before changing the location to let updateNextReset to store its objects
Adding callback updateNextReset ensure all is done before continuing the execution
Cleaned and debug disabled