Workflows: HP added mini approval widget and various fixes

* Removed every hardcoded url in .js files

* Added small helper function in maintable.js

* Added buttons for multiple record approval

* Needs a small fix to the reject-multi button

* Some bug exists when trying to continue delayed workflow