Fixed issue with debug, reworked artifact output to work better and not include files multiple times, and to not conflict with intellij assumptions on plugin.xml