Add as_app_set_origin()

This allows us to get the origin the package was read from in the instance we
have more than one resource being loaded into the store.