Update the grid-per-axis tests to use the PixelSampler utility class. Add a test to verify setting line widths from 1 to 9 pixels wide, and fix tests to take the alpha value into consideration when testing line widths.
Fix warnings about deprecated draw{X,Y}Axis options.