Reworked the bin/fac script to duplicate the one in FACTORIE.
Merge.
Added more files to ignore.