clean up state transition
Merge pull request #5527 from ticoann/reqmgr2

clean up state transition
Merge pull request #5528 from vkuznet/reqmgr2

Reqmgr2 create template changes
Merge pull request #5529 from vkuznet/reqmgr2

web UI polishing
New version of the library
New version of ajaxRequest function
Change ajax_approve into generic ajax_action
Added reject buttons; change templates to use ajax function instead of forms