Fix warning in opscode.pm under warnings and two problems under htmlcode with strict;