More exposure for libtdb's classes. Partial fixes for getting global minimization working again.
Fix for nasty regression for phases with no miscibility gaps. The new unit test setup can't come fast enough.