Added ROC metric, and moved rates to metrics Lua namespace

Solved problem with rates compilation

Added roc documentation and unit test