Fix ticks inf

Update implementation of https://github.com/enthought/chaco/pull/126

I think, an extra test like these that *isn't* using infinity would have triggered the errors in both of my comments (assuming the test also uses integral arguments instead of floats). Maybe we should coerce numeric arguments to `float` in `auto_ticks` ?