Major refactor wrapping sqlite3 handle in a safeword_db struct. Also moved ls command and tag command features into safeword lib.
Added a debug helper if DEBUG is defined.
Added X11 CMake find module to find Xmu lib.