Update gitignore+sharedlibs; add .tern-project