Fix auto scale domain for ordinal scale.

Close #1428.

Fix can be seen [here](http://jsfiddle.net/nLmn5ex1/9/)
Wouldnt a more efficient solution be to hold the domain as a set then checking if the item is in the set?