[webui] make 100% of apidocs controller covered

Introduce the use of mocha, because it's cool
[api] remove unused variable
[api] fix bug with creating repositories in remote project

Now you can create repositories in remote project like
`openSUSE.org:RedHat:RHEL-4` and `openSUSE.org:RedHat:RHEL-4` with no
error
[webui] fix the url for loading of distributions
[activexml] do not finish http if it hasn't started
[api] some fixes for migrations
[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
[webui] update to gems in O:T:U
[api] fix /public/binary_packages as used by KDE-Apps.org/openDesktop.org and add test case for it
[doc] complete command list for package sources
[backend] sync _statistics xml layout with the _constraints one
[webui] convert our css into scss to have one format to rule them all
[api] some optimizations for /webui/all_projects

Before
6284ms (Views: 3298.7ms | ActiveRecord: 720.0ms | Backend: 0.0ms | XML: 0.0ms)

After
426ms (Views: 0.8ms | ActiveRecord: 50.4ms | Backend: 0.0ms | XML: 0.0ms)
[dist] update Gemfile.locks for latest rails security updates
[backend] call build script with --statistics option
[dist] another gem update
[webui] Removed get_trackers-function from patchinfo-controller
This is not required in the new format for adding issues
[webui] Catch error if a connection to bugzilla is not possible in patchinfo-editor (e.g. in the test-env)