implemented check for per-example loss
Merge branch 'master' of github.com:pks/cdec-dtrain