can now run anomaly models with custom error metrics
fix for custom error metrics on category fields for anomaly models
apply comments

use isinstance() (handles inheritance)
Merge pull request #244 from breznak/ewulczyn-fixCustomErrMetric

Fix for using custom Error Metric for anomaly models
Merge remote-tracking branch 'upstream/master' into cleanup-build