Added saving to WebSQL

Only points and lines