WIP DictVectorizer's handling of empty features

This is an uncontroversial change, but I'm submitting a PR to get a Travis build.

See #1903.