restructure scopes of .gitignore files

Broke out the the root .gitignore into having pattersn scoped to be
within the tslib/ directory to keep the ignore scope as close as
possible to the source.