fixed to copy issue with wp 3.5
Fixed media upload dialogue for WP 3.6
Merge pull request #69 from pauljtbennett/master

Fixed media upload dialogue for WP 3.6
declare static functions as static
add default to checkbox, select and radio inputs