A Git .gitignore copied from .hgignore.
Tidied up .gitignore and add second-stage/nbest and tmp dirs.
Set LD_LIBRARY_PATH too.
Add a rule to .LIBPATTERNS so that SParseval will make.