Added InstancePerApiRequestOrOwned registration extension method to show how to register a type per API request or per Owned<T> instance.