Refactor music21.spanner.Glissando

- Code is a little cleaner and faster.
- Added a unit test to check that exceptions are raised properly.
- Wrote the valid "line types" in the class docstring.