Add .idea to .gitignore
Add /bin/test script to facilitate running tests.