added sqlite impl. not finished but mostly working.
Merge branch 'master' of https://github.com/ianopolous/Peergos

merge