light cleanup

1) added dist to .gitignore

2) added MIT license

3) used cabal's getDataFileName function to install and retrieve
templates