Performance: improve type-stability of optimize_ticks
Improve type-stability of apply_scale
Improve type-stability of apply_statistic
Improve type-stability of apply_coordinate
Merge branch 'pull-request/11577830' of https://github.com/timholy/gadfly into timholy-optimization

Conflicts:
	src/statistics.jl
	src/ticks.jl
Make @timholy's optimization work with non-Real types.