Fixed #351 Type::count() does not apply query
Added Search::hasType and hasIndex methods. Fixed Index::count() method
Added createSearch method to SearchableInterface. Implemented Search::create method. Removed SearchableInterface form search