Replace Java collections + clean up

* Replace most (if not all) Java collections by their Scala couterparts
* Use HashMap for RequestMetrics
* Clean some unused imports, vals...