Fixing of searchItems method.
Fixing bug in type search.
Improvement: array_keys instead of array_unique .
Improvement: no count.
Improvement use empty instead of count > 0.
Conflict resolved.
Merge pull request #176 from doleiynyk/2013-05-14_Set_slice_for_type_in_searchItems

Improves fetching types in searchItems() and scales slice size