move invoice send_link generation to helper
better applet loading, use escape_javascript on translations
ask when sending already sent invoice, refs #3990