Add support for drawing tick marks with base style

Before this was simply not implemented. It is still a bit unclear
how we should treat stepSize == 0 as the results are somewhat
undefined.

Task-number: QTBUG-31261

Change-Id: I7a8b877649a945cd6cb303cc034df677b0199a90
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>