Refactored implementation to make use of caching and to limit the number of connections to external cobbler server for performance.

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