Remove unused files and update gitignore
Adds new logging API JD_SetLogging(). Also fixes a bug that prevented virtual channels from registering occasionally.