prevent requirements from leaking into autorequired objects and creating circular references

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>

Conflicts:
	cdist/test/autorequire/__init__.py
merge back the dependency resolver into pseudo master

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
use self.context, not self.local

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
Fix to support FreeBSD's stat(1)

Added check for OS type
Added FreeBSD syntax in case of $os=freebsd
Use $__explorer to get os type
Merge branch 'master' into __directory_fix
Merge remote-tracking branch 'jake/__directory_fix'
++changes

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>