Upgrade Guava to 14.0.1. Remove references to deprecated functions.

Use Guava `Closer` to cleanup resources (tests only).

Add test-scope `slf4j-simple` dependency to make it easier to debug issues in tests.