Fix dependency checking of patches.
Changed active/type/dependencies to be properties instead of methods, to simplify the patchfiles.