[api] fix request state comment given by changestate parameter (bnc#796573)
[api] fix build log access to project linked package builds
[webui] use capybara's webkit driver instead of selenium

It's faster and less fragile