Move discount field up and cleanup edd_show_purchase_form() function. #1318