FIXED: Added meta-predicate declaration for expand_term/4 and moved meta predicate declarations of public predicates to the start of the file to support the development tools.

Signed-off-by: Edison Mera <mera@process-design-center.com>
FIXED: Meta-call declarations wrt. expand_goal/4.

Signed-off-by: Edison Mera <mera@process-design-center.com>