'Return a stack resource, even if not in the current template.'

def resource_get(self, name):

    res = self.resources.get(name)
    if res:
        return res
    db_res = self.db_resource_get(name)
    if db_res:
        return self._resource_from_db_resource(db_res)
    return None
