Added WP 3.5 media upload support to the 'upload' field settings callback. CLoses #1182