Refactor code to support responses and provide proper notification based on response status
Define response status for ajax callback function
Update status once request dict is updated
Merge pull request #5533 from vkuznet/reqmgr2

Support response status notifications