[eclipse] Fixing the SARL Library provider.

The previous implementation of the SARL Library provider is not working
in the SARL product.
The code was refactored for solving this issue.

Signed-off-by: Stéphane Galland <galland@arakhne.org>