FIX some tests weren't compiling, ctest did not depend built tests

also added cmake function to make testing adding tests easier.
added debian files
RelWithDebInfo did not include NDEBUG. *ugh*.
added do_release script