[webui] Fix repository autocomplete and deletion
[webui] Only overwrite @displayed_user with valid users. Fixes #421
[backend] adapt to really big kiwi jobs
[api] make project#type_id mandatory - fixes #434
[backend] Pass threads option to build

KVM on power uses advanced format to specify number of cpus and threads
to be used, like -smp 4,threads=8

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
[backend] implement orphaned build checking in warden
[backend] put the config into a projpack request for a specific remotepartition project
[backend] like with %projpacks, do not delete %remoteprojs too early
[api] test HTML in the API
[api] move webui as into api engine
[webui] rename project to WebuiProject

Makes it easier to grep for it
[api] move the rails script into the rails4 bin/ folder

My IDE won't detect the project as rails4 otherwise
[webui] remove the first webui model: StatusMessage
[webui] remove first webui/ controller in the API

It's just one AR call now
[webui] merge Webui::Role into Role

It was just a namespace anyway
[webui] fetch latestupdates right from the database instead of API hop

This looses caching for now, but we can cache better in the API anyway
[webui] use the package model directly to save roles

Fortunately the models already check for permissions
[webui] calculate the worker status directly in the API
[webui] fix test cases

- take out some more caching (for now, to be readded in the models where
  it's sane)
- fix flags validation
- redo the travis split
- use truncation for database cleaner

(and due to rubymine insisting replace "" with '' where no escaping is
necessary)
[api] retire webui/relationships controller