Fixed meta_predicate declarations
Implemented remove_useless_exports/2. Added hack RM.
Fixed a performance bug, raised overflow if executed when all prosyn is loaded.
Minor change, access_file(...,exist) ---> exists_file(...).
Fixed a performance bug in included_files/2, using findall/3 and sort/2 to avoid duplicates, and moved such predicate to its own module to allow cohesive reusage.
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>
ADDED: Unify Goal in expand_goal/4, so we do not need to pass it through the closure anymore.

Signed-off-by: Edison Mera <mera@process-design-center.com>
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>
Merge remote-tracking branch 'jan-master/master'