Refactor gitignore and build.gradle

MovingBlocks/TerasologyLauncher#106