Add log and an easier namespace

lv.h includes the libvar namespace, but also aliases it to lv, and typedefs the
main classes; notably var.