Added address book entry filtering based on loops

Filters the entries to use based on the loops retrieved from an
FMS-tool.

Resolves issue #46.