Added unitgenerator

Added unit generator to test code and use as an example.
Fixed dash length on frame

Changed code so that Affiliation and status results in different dash
length on lines. Also removed the white dashers if you have an unfilled
symbol so that they are displayed in the same way as monocular symbols.
This fixes #2