[api] do not require SUSE's rpm in the testsuite

Weak dependencies are great to have, but the build service works without them
[api] initial porting to rails 4
[webui] initial porting to rails4
update gemfile.locks