FIX+TST non-consecutive or duplicate vocabulary indices

* added extra checks for custom vocab in CountVectorizer
* added test for custom vocab to check fauly vocabs

Fixes #2357.