medium: ui_resource: Add maintenance command (bnc#863071)
Add command to enable/disable the per-resource maintenance mode.
test: Unit test for resource maintenance (bnc#863071)