Minor bugfix to corpus.js
Move towards sqlite-backed corpus of lines
Add git <-> sqlite conversion for corpus