squash! WIP: primitive restart draw mode test

Test that primitive restart works in every possible draw mode.

Some implementations (i965 in particular) treat primitive restart
differently depending what type of primitive is being drawn.  This
test verifies that primitive restart works correctly for all primitive
types.