Merge pull request #1026 from fxdgear/develop

show packages in pip.list that were installed via the editable flag
Add pillar data to SMinon class, Fix #1027
Change kwargs to gather all kwargs if function has **kwargs
update file.find to use kwargs, Fix #1024
update win_file.find to use kwargs
Add logrotate files to pkg dir
Make minion hold off for network connection
fix bug in cython autoloading
Make file templates more flexible + pull the code out of the file state

This change makes it so that kwargs can be passed to templates and they
are loaded up with the correct data. This also repairs the mako template
system
Handle ValueError's when parsing 'tmo' with int()

This is a rather obscure one but it just bit us so I figured we should
fix it.

A recent change to our code that invokes salt through the Python API
ended up doing this:

    ret = minion.functions['publish.publish'](self.name, fun, *args, **kwargs)

When we really meant to do this:

    ret = minion.functions['publish.publish'](self.name, fun, arg=args, **kwargs)

What made this difficult to track down was that the master would just
silently die when this happened. Once we ran it in debug mode we found
the following exception:

    16:14:30,049 [salt.master    ][INFO    ] AES payload received with command minion_publish
    Process MWorker-5:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap
        self.run()
      File "/usr/lib/python2.6/dist-packages/salt/master.py", line 368, in run
        self.__bind()
      File "/usr/lib/python2.6/dist-packages/salt/master.py", line 317, in __bind
        ret = self.serial.dumps(self._handle_payload(payload))
      File "/usr/lib/python2.6/dist-packages/salt/master.py", line 335, in _handle_payload
        'clear': self._handle_clear}[key](load)
      File "/usr/lib/python2.6/dist-packages/salt/master.py", line 362, in _handle_aes
        return self.aes_funcs.run_func(data['cmd'], data)
      File "/usr/lib/python2.6/dist-packages/salt/master.py", line 775, in run_func
        ret = getattr(self, func)(load)
      File "/usr/lib/python2.6/dist-packages/salt/master.py", line 722, in minion_publish
        timeout = int(clear_load['tmo'])
    ValueError: invalid literal for int() with base 10: ',00:16:36:9d:d9:30,'

With these changes the master will now log a warning and return gracefully.

Also, I fixed a small syntax error that suggested clear_load was a function.
allow the pki dir to have 750 permissions, add logging if unable to set permissions correctly
Merge branch 'develop' of https://github.com/saltstack/salt into develop
Merge pull request #1029 from fatbox/timeout-valueerror

Handle ValueError's when parsing 'tmo' with int()
Merge pull request #1030 from teancom/develop

Allow integrated software to read keys
Don't error out if a VM image file doesn't exist in virt.py
add vm_state to return the state of a given vm
change to using CommandExecutionError in virt.py to supress ugly exception in the case of a missing VM
Merge pull request #1031 from teancom/develop

Don't error out if a VM image file doesn't exist in virt.py
Add get_template to the file client
fix regresion for #595