Update the .gitignore file

A few minor changes to .gitignore

1. Added some ignores for tmp, log, and pid files that may be created when running the specs or the examples.
2. Reformatted so it's closer to the Github standard .gitignore, and includes standard entries like '.ruby-version'