Added CloseMode support to LeaderLatch in order to be able to trigger the notLeader() callback when a Latch is manually closed.

This closes #1
minor refactoring
added doc
more doc
[maven-release-plugin] prepare release apache-curator-2.4.1
[maven-release-plugin] prepare for next development iteration