Update to better logging system

This replaces "writedebug" with the built-in java Logger class. This allows us more functionality than WriteDebug, and as a plus, it tells what method made the logging call.

Most of the changes to Constants are for the new logging system.

To log with this new system, use Constants.LOGGER.log(Level.[LEVEL HERE], [STRING MESSAGE HERE]);