relocating the JpcTranslationException
General refactoring.

Reimplementing the life cycle of Prolog engines and simplifying a bit the LogicEngine classes and the PrologEngineConfiguration class. Also changing the way terms are expressed as Strings.
adding a variable in the JpcPreferences with the prefix of jpc generated variables