Add idempotent_methods for is_resource_modified

This is not the correct way to solve #409, but the only
backwards-compatible one. We should fix this properly in 1.0.