Update gitignore and README.

Added IntelliJ idea directory to gitignore and updated some of the dependencies in the README.