added async callbacks before item upload

Useful for when you need to make item specific upload parameters that
require async operations. In this case, we need to go to the server to
generate a file specific policy.