[cluster] First version of hierarchical clustering
[cluster] Simplify and bugfix hierarchical clustering

o fix prune()
o make comp. weights available as array
o simplify regroup()
o improve doc
o stricter tests
reconfigured git to ignore backup files
renamed module mcprerun --> markov_chain
[cluster/hierarchical] redefinitions for compatibility with python3