Add version API

Stop generating config header
Update to waf 1.7
Update to gtest 1.7.0
Modify recommender interface