adding hamcrest to the lib/optional because it is required at runtime for some tests, also bumping junit dependency in pom file

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452722 13f79535-47bb-0310-9956-ffa450edef68