Publish private tests via API
- depends on !189 (merged)
- added POST /test/publishinapi.rbto accept string of run_ids of jobs and update theiris_privateto false for all valid entries in the string after cleaning and ignoring rest.
- added tests for api /test/publishinapi_spec.rb.
Edited  by Pavit Kaur