Add ResourceDirInject trait

BEAR.Package has `resource_dir`, but ResourceDirInject is missing.