How to Integrate the WordPress Media Uploader in Theme and Plugin Options