Removed code field from view.
Resolving rebase conflicts with dev.

Signed off by: Alessandro Palmeira <alessandro.palmeira@gmail.com>
Setting the code attribute for native metric configurations.

Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
Fixed test related to code.

Signed off by: Daniel Alves <danpaulalves@gmail.com>
Merge pull request #95 from mezuro/metric_configuration_code_field

Metric configuration code field