WP 3.5 Media uploader support

This pull request adds WP 3.5 media uploader for OptionTree upload type. The only limitation is it is not yet possible to select the image size.

Thanks :)