Use Leiningen's built-in support for Java agents and simplify code

(The support was introduced in 2.2.0 / 2013-05-28.)