CMDB bugfixes

1. get_icon_for should return '' if no ci content detected
2. Search changes by ci name for clarity
3. For some reasong statistics code was called twice - removed for performance reasons