Fix puppet certificate names when hostname != fqdn

Puppet certificates are named after the fqdn, not the hostname. When run on a
host where the hostname doesn't look like an fqdn, Puppet (actually Facter)
assumes that that is the short hostname, and uses the first domain in the
resolver's search list as the domain name to make the fqdn. (cf.
facter/host.rb, facter/domain.rb, facter/fqdn.rb). The cobbler module should
do likewise.
Xen Dom0 support is in the vanilla kernel since 2.6.37
Fix python printf format

This fixes an obscure traceback in Spacewalk:
Caused by: java.lang.RuntimeException: redstone.xmlrpc.XmlRpcFault: <type 'exceptions.TypeError'>:not all arguments converted during string formatting
        at com.redhat.rhn.manager.kickstart.tree.BaseTreeEditOperation.store(BaseTreeEditOperation.java:116)
        at com.redhat.rhn.manager.kickstart.tree.TreeCreateOperation.store(TreeCreateOperation.java:61)
        at com.redhat.rhn.frontend.action.BaseEditAction.execute(BaseEditAction.java:64)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        ... 40 more

which was traced to cobbler:
Thu Dec  8 17:09:16 2011 - INFO | Exception occured: <type 'exceptions.TypeError'>
Thu Dec  8 17:09:16 2011 - INFO | Exception value: not all arguments converted during string formatting
Thu Dec  8 17:09:16 2011 - INFO | Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 1763, in _dispatch
    return method_handle(*params)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 874, in save_distro
    return self.save_item("distro",object_id,token,editmode=editmode)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 870, in save_item
    rc = self.api.add_item(what,obj)
   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 395, in add_item
    return self.get_items(what).add(ref,check_for_duplicate_names=check_for_duplicate_names,save=save,logger=logger)
   File "/usr/lib/python2.6/site-packages/cobbler/collection.py", line 311, in add
    self.lite_sync.add_single_distro(ref.name)
   File "/usr/lib/python2.6/site-packages/cobbler/action_litesync.py", line 62, in add_single_distro
    self.sync.pxegen.copy_single_distro_files(distro)
   File "/usr/lib/python2.6/site-packages/cobbler/pxegen.py", line 169, in copy_single_distro_files
    utils.mkdir(distro_dir)
   File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 1221, in mkdir
    raise CX(_("Error creating") % path)
Force Django to use the system's TIME_ZONE by default.
Merge pull request #24 from jmaas/master

Make use of system TIME_ZONE in Django
fix install=... kernel parameter when importing a SUSE distro
Merge pull request #21 from roysjosh/bugfix

Fix python printf format
Merge pull request #27 from jbartus/master

update wiki links
Merge pull request #33 from ugansert/master

fix install=... kernel parameter when importing a SUSE distro
Merge pull request #18 from syskill/master

Couple of bugfixes
Fixed a tiny typo in the list of available choices.
The script is called power_ether_wake.template hence setting the config to "ether-wake" won't work and "ether_wake" will.
Show original traceback when attempt to contact httpd/cobblerd fails
Properly blame SELinux for httpd_can_network_connect type errors on initial setup.
Merge pull request #34 from nielsbasjes/master

Fixed a typo in the power managementc instructions in the settings file.
rsync copies the repositories with --delete hence deleting everyhting local that isn't on the source server.
The createrepo then creates (following the default settings) a cache directory ... which is deleted by the next rsync run.
Putting the cache directory in the rsync exclude list avoids this deletion and speeds up running reposync dramatically.
Merge pull request #35 from nielsbasjes/master

Speedup reposync by avoiding deletion of the createrepo cache.
close file descriptors on backgrounded processes to avoid hanging %pre
the ESXi installer allows two nameservers to be defined
add a sample kickstart file for ESXi
add missing import of shutil