REST fixes
Begin arcbot message
This merge request is automatically copied from !1434 (merged) orginally made by @aleksandr.konstantinov
End arcbot message
Various fixes and enhancements related to REST interface.
Bugs fixed:
https://bugzilla.nordugrid.org/show_bug.cgi?id=4059
Edited by Aleksandr Konstantinov