added hamcrest-core to prevent transitive dependencies
added .gitignore