Unneeded argument in get_linestyle

Removed unnecessary argument `style` in `get_linestyle` of
`GraphicsContextBase`.

Also made `GraphicsContextBase` inherit from object to support any
future propertyfication...