Move score meter class into application JS file

Since the score meter is used in both, the repository and metric
JavaScript files I have moved the score meter class into the application
JavaScript file and added it to the root namespace.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>