Added Gridlines (and tests).

Updated Scale to cache the last requested number of ticks.
This shouldn't affect functionality now, but may be important later on
when it's important to coordinate the number of ticks being shown across
multiple things backed by the same scale.

Close #56.