Added equals and hashCode methods where necessary for correct pools comparison
Merge branch 'master' of https://github.com/spbsu-ml-community/commons