Only show the Add Whistles media button and popup if the current user has the 'edit_whistles' cap.
Move the allowed whistle types check into its own function so that it can be pulled into the other various functions throughout the plugin.
Version bump to 0.1.0.