Added code attribute to Metric class.

Signed off by: Daniel Bucher <daniel.bucher88@gmail.com>
               Diego Araújo <diegoamc90@gmail.com>
Version bump

Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>