import @TERM and @CTERM functions from Lotus 1-2-3 files (related: fdo#86241)

(cherry picked from commit 70ae5bb4182a99c17da8eb32b36baec3e7a48723)

Conflicts:
	sc/source/filter/lotus/lotform.cxx

Change-Id: I864ad87aa0455c323a5235fa1230d3f2ac3ffbb4
Reviewed-on: https://gerrit.libreoffice.org/13105
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>