Fix auto scale domain for ordinal scale.

Close #1428.

Fix can be seen [here](http://jsfiddle.net/nLmn5ex1/9/)
Basically it worked fine for numbers, but for strings it added 0 at the end, which modified domain values.