introduced sqlite database
persist polyline element
polyline database roundtrip
refactored NoteElement equality and hashcode