CMDB bugfixes

1. get_icon_for should return '' if no ci content detected
2. Search changes by ci name for clarity
3. Badly implemented statistics code was called twice(!) - removed for performance reasons

http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-vi4m/builds/150