Allow both linestyle definition "accents" and dash-patterns as linestyle

This is a first PR in an attempt to split #3265 in smaller pieces.
This part should cover the original intent to fix #2136.

The reverse mapper is necessary here to convert full line style names in short ones for lines.py.
@lennart0901 The test failure should be fixed up now (fingers crossed on travis).