General source improvements

 - Stop using deprecated method, Material#getId()
 - Fix typo in PermissionNodes
 - Remove target again it somehow reappeared even when it was in the gitignore