update pom.xml.

grouping dependencies
add org.springframework.version property
add leader election support.
merge from remote master branch.
merge from remote master branch.