util: In BoostInfoTree, added utility method getFirstValue.