Changed to properly extend AbstractMetric

Implemented getSimilarityPercentage() using document.getMetric(this).
Let me know if that doesn't work and I can change it