Add a loading icon and minimum wait for <formulaequationinput>

Wait at least 300ms between AJAX requests.
After typing, show a loading icon, when the request returns, hide the icon.