bools->chars, fix result writing
Memcpy->Memset
Fixes major bugs in build_oracle

* lumping identical leaves in with else
* potential divide by zero
* bad brackets

Also adds shortcuts to netdist and getRep of leaves
Also removes aliasing warning from btree
Also removes iterator wrapper from qt.*pp
Also removes approx_dist struct from qt.hpp
Const-ing and moving childpairs out of qt
Implements decompose and process_allpairs

Replaces childpairs and inline stuff
Fixes decompose
Implements lots of work in process_allpairs
More cacheing in process_allpairs