Added optional objective computation to Dual EM, fixed HardEM adagrad
capability, added hooks in VotedPerceptron for external objective
computation,