Added IntelliJ metadata to .gitignore.
Upgraded to rest-driver 1.1.40 to fix bug #24