Fix fatal error in apyment history
remove extra deprecated functions file
Fix undefined index edd_cart_token for logged-out users when trying to restore a cart. Also fix erroneous behavior of edd_is_cart_saved(). Closes #1793