Upgrade versions of various dependencies

Most notably this commit updates Hibernate to 4.3.1.