Merge pull request #4284 from dlindquist/xcp

Add XenServer to grains and set proper virtual pkg
* add lost import
* pep8 fix
Merge pull request #4285 from giantlock/develop

Fix lost import
Add first monitoring state - experimental
Fix bad ref, forgot the __salt__ :P
Update minion to return extra key data to master
Add data on the return function to ret load
Fire events when bad retcodes are returned
Refine ret load firing to handle individual firing for state components
Fix set to be a list
Only fire on result = False
Forgot to split the tag
Add retcode evaluation to state functions
renamed postgres.db to postgres.maintenance_db and all postgres module function arguments from db to maintenance_db
made default maintenance_db "postgres" and also made default postgres/psql runas local-server only
Add more error checks for state for retcode
reverse boolean on state determination
Gracefully handle CTRL-c when running salt-key -D or -d
Fix a copy/paste bug that came from: 8dc0d012
Coerce output of file.get_mode to string
Fix #4286 by returning an empty string from get_mode