Changes to distance measure implementation

Some changes to pom to facilitate building in jdk 6
Partial Impl of random sample validator

Changes associated with validator logic(including additional API for
classifiers)
validator incomplete impl and updates

self explanatory
Merge branch 'master' into ArunavWork