make EdgeFeatureGraphCRF work with infering of n_states, n_features
introduce _set_size_psi and _set_class_weight for less code duplication.
make latent models work with improved interface, some multiple inheritance hacking :-/