maybe.h: Fix up some destructor issues

Fix up places where this->isValid was being flipped, but the validity of the this->val buffer was not treated the same.
maybe.h: Fix a typo in my last patch

missed a reinterpret-cast
maybe.h: Fix Travis failures
Merge pull request #4 from jaredgrubb/patch-1

maybe.h: Fix up some destructor issues