Included missing Mock

signed-off-by: Diego Araujo <diegoamc90@gmail.com>
new metric_configuration route with post method

It's getting problem when the coffee script calls the action via jquery. Use the cosole [firebug] to inspect it.
Choose metric page sends data using post method

Instead of send data via get: it causes error when the metric name had special characters.

signed-off-by: Diego Araújo <diegoamc90@gmail.com>