EMF/WMF: parse line cap and line join

Change-Id: I081ae9c24e48912631dcfe4aba8a06ff2680aaf5
EMF/WMF: fix rendering of pen styles (dash, dot, dashdot, dashdotdot)

Change-Id: I226bac370601b75f2589f7a7c5e8830746b31e2e