Added gitignore

Based on my gist https://gist.github.com/jonasbn/7808090
Changed license to Artistic 2.0