Add a DEBUG constant and the ability to more cleanly reference the version.
Fix issue #7 & #13