explicitly check that `isGlob` is undefined, preventing a false negative on empty strings
allow for single-quoted JSON thanks to ALCE

also a bunch of small code cleanups

fixes #25
fix 0.8 travis issues
release 0.7.7