some fixes for DirectorStructuredModel to make it work with PrimalMosekSOSVM
remove general delta_loss and get_joint_feature_vector that are in StructuredModel
add init_opt and check_training_setup (used by PrimalMosekSOSVM)
add debug messages in PrimalMosekSOSVM
add obtain_from_generic method in MatrixFeatures
move implementation of CResultSet methods from header to cpp
Merge pull request #945 from iglesias/structure

Minor fixes for structured learning