Class to generate passive checkresults
Failing test for #140
don't add hosts and services of a contactgroups contactgroup_members to the contactgroup itself

If a contactgroup has a contactgroup_members attribute the services
and hosts of the contactgroups in that attribute are added to the
list of services and hosts for the contactgroup in the ObjectRelations.
Therefore all get_effective..() methods that relate to contactgroups return
wrong results. This patch fixes that.

Issue #140
fixed indentation
unit test for nagios_checkresult.py
Fixed the import
Simplify and make available pynag.Utils.CheckResult

Basic initialization

from pynag.Utils import CheckResult

check_result = CheckResult('/tmp')

check_result.service_result(
    host_name="testhost",
    service_description="test service",
    output="OK This is nice!",
)

check_result.service_result(
    host_name="testhost",
    service_description="bad service",
    output="Oh darn!",
    return_code=2,
)

check_result.submit()
Merge pull request #1 from tomas-edwardsson/mirrorzresult

Simplify and make available pynag.Utils.CheckResult
Merge pull request #142 from MirrorZ/master

Class to generate passive checkresults
Merge pull request #143 from pall-valmundsson/issue-140

Fix get_effective_...() for contactgroups
Added temp_file and temp_dir to minimal config