Environment.java: Added handler for uncaught exceptions.
pom.xml: Bumping version to 3.1.0-t1