plotcirc <-> sqlite serialization

changed a bit sqlite interface
Merge branch 'master' of https://github.com/InsaneHamster/ihamster