Added UMD so that fileDownload can be used with CommonJs and RequireJs and fixed gitignore to be better.