Bump version to 0.5.1.dev1
Remove blank line at end of file
Split out parts of the save function
Rework the passing of arguments to simplify integration into GNS3
Define ellipse and rectangle in shapes dict during init
Add and improve several tests