Weighted loss function in EdgeFeatureGraphCRF

See [this issue](https://github.com/pystruct/pystruct/issues/94).