BUG 1240096 Corrected nagios compute check

Compute_target.pp : Corrected inheritance so redefine doesnt happen
and fixed lint errors and warnings.

Common_taget.pp : fixed lint errors and warnings.
Merge pull request #18 from rahuupad/BUG1240096

BUG 1240096 Corrected nagios compute check