Add capstyle and joinstyle properties to Patch.
Use projecting caps for axes spines (fixes #2542).
Add test for new spine capstyle, workaround PDF rendering errors in low-dpi tests.
Merge pull request #2544 from pwuertz/fix_2542

Fix 2542