Formatting millions

The javascript method formatValue now nicely displays numbers that are higher than a million as it was already implemented for numbers in the thousands.

![millions](https://f.cloud.github.com/assets/2797/205319/0e374a3e-81a4-11e2-8f6d-455d4b325ec7.png)

Some methods were duplicated in the files fnordmetric.util.js in fnordmetric-core and fnordmetric-ui. These have been removed from -core and only left in -ui.