[api] fix testing
[dist] install and package new sphinx config files

This commit also includes rubygem version updates
[dist] fix spec file formater mess up
[api] move code around in statushistory to make the functions less complex
[api] move all patchinfo specific code into a patchinfo model
[api] move all attribute handling from source to attribute controller

(where it should have lived from the start)
[api] improve the patchinfo class a bit
[api] move issue rendering out of the models into views
[api] move rendering of configuration xml into a view
[api] move common relationship related functions into a mixin
[api] move rendering of project and package meta into a view
[api] move even more duplicated relationships code into the mixin
updating spec (ruby 2.0 and sphinx)
[api] Removed non needed call to Relation#all (deprecated)
[api] Reindex sphinx database every hour
[api] Delta indexing added to sphinx (the straighforward way)
[webui] the A* guys make fun of OBS

http://cdn.memegenerator.co/instances/600x/23837073.jpg
[webui] trying to fix a strange testsuite failure on jenkins

It does not happen locally and it does not happen on travis, so
try some hints from stackoverflow ;(

SpiderTest#test_spider_as_admin:
ActiveRecord::ConnectionTimeoutError: could not obtain a database connection within 5.000 seconds (waited 5.000 seconds)
[webui][api] added edit/delete functionality with permission checks