* some sqlite helper functions added to msgapi. versions in store could/should be deprecated, possibly post-1.0 though * remove some hard-coded stuff from auth, replace with sqlite db * various small fixes