Merge "Add index to yang_resource for faster registration"