[backend] adapt rebuildkiwiproduct code to partition case

It was forgotten when all the other places got adapted.
[webui] increase coverage by removing functions
[api] update gemfile versions
[api] allow nobody to query everything he's not forbidden to do
[webui] test 'download logfile'