Revert "Revert "Moses patches""

This reverts commit 6a4c048fca0369fd7485e30d5bb2b96a4449739b.

Conflicts:
	opencog/learning/moses/metapopulation/metapopulation.cc
	opencog/learning/moses/moses/moses_main.h
	opencog/learning/moses/moses/types.h
	opencog/learning/moses/scoring/precision_bscore.cc
	opencog/learning/moses/scoring/scoring_base.cc
Minor code simplification in precision_bscore
Remove duplicated code
Fix select_bscore to work with new CTable API (timestamped rows)
Add workaround to compile under gcc 4.6 (caused by bad emplace_back implementation)
Fix selection test to use new moses-framework