moved helper error throwing to the end of file

otherwise it would not upload the error results to qaverify
moved helper error throwing to the end of file
moved helper error throwing to the end of file
choosed new set of metrics

these metrics are listed within http://ros.org/wiki/code_quality
Merge pull request #22 from bosch-ros-pkg/master

Changes for Code Analysis