Fix typos. Prevent double-dashes from being reduced to single dash.
Refactored implementation to make use of caching and to
limit the number of connections to external cobbler server for performance.
Added use of cobbler.ini file to configure settings.

Tested against Cobbler 2.4.0
Refactored implementation to make use of caching and to
limit the number of connections to external cobbler server for performance.
Added use of cobbler.ini file to configure settings.

Tested against Cobbler 2.4.0
Revert "fix conversion from file to hardlink when force=yes"

This reverts commit 4d4518ed52aca266ebabdc00aabae7da9568b68e.