Make the dsn parameter optional in log4j2
Add hamcrest for log4j tests