add Intellij IDEs internal project files to gitignore
delete duplicated user agents on tests
fix document format and add a missing return
Merge pull request #253 from Garthi/cleanup

Clean up and small improvements