fix some golint complaints
switch to upper.io/db in preparation for using ql on plan 9