Sync processutils from oslo with deps

The main target for the sync is to pick up the get_worker_count()
method in commit 85f178489a128a04a7ee3ed44018403caa109ef0 so that we
can set trove api/conductor workers equal to the number of CPUs on the
host.

Changes:

local
-----
12bcdb7 Remove vim header

log
---
109e325 Use oslo.messaging to publish log errors
de4adbc pep8: fixed multiple violations
eac71f5 Fix common.log.ContextFormatter for Python 3
d78b633 Fixes a simple spelling mistake
621d831 always log a traceback in the sys.excepthook
90ae24b Remove redundant default=None for config options
af36c2a Fix logging setup for Python 3.4
cdcc19c Mask passwords that are included in commands
fe3389e Improve help strings
8a0f567 Remove str() from LOG.* and exceptions
f61a4e7 Fix python26 compatibility for RFCSysLogHandler
da6d713 Revert setting oslo-incubator logs to INFO
0d18381 Set default log levels for oslo.messaging and oslo-incubator
346884d Add default user_identity to logging record
86707cd Remove None for dict.get()
61ff7a6 Rename Openstack to OpenStack
dda47c9 Use ContextFormatter for imparting context info
52b6446 Fix deprecated messages sent multiple times
1978114 default connectionpool to WARN log level
79e8a9a Backport 'ident' from python 3.3 for Oslo's SysLogHandler
55cd46a remove extra newlines that eventlet seems to add
bcf6d5e Small edits on help strings
d292f7d Add error type to unhandled exception log message
0228b81 Logging excepthook: print exception info if debug=True
71208fe Fix spelling errors in comments
8b2b0b7 Use hacking import_exceptions for gettextutils._
6d0a6c3 Correct invalid docstrings
fe18bfa Remove keystone from default_log_levels default
13eb01c Adding domain to context and log
27b21bc Unify different names between Python2/3 with six.moves
12bcdb7 Remove vim header
a6f40ac Don't log to stdout when log_dir is set
25c5854 Adds admin_password as key to be sanitized when logging
2251cb5 Do not name variables as builtins
cbfded9 Default iso8601 logging to WARN
76b0cd1 Add mask password impl from other projects
5fef5a8 allow keeping of existing loggers with fileConfig
fb8075a Add amqp=WARN,qpid=WARN to default_log_levels
4654a5d Don't override default value for eventlet.wsgi.server logging
a817275 _get_log_file_path explictly return, when logfile/logdire unset
e12e6b4 Make openstack.common.log Python 3 compatible
572cfec Make Messages unicode before hitting logging
36859e5 Adding instance_uuid to context and log

processutils
------------
85f1784 Move nova.utils.cpu_count() to processutils module
cdcc19c Mask passwords that are included in commands
8a0f567 Remove str() from LOG.* and exceptions
51778f9 Allow passing environment variables to execute()
fcf517d Update oslo log messages with translation domains
af41592 Catch OSError in processutils
f773ea2 Fix i18n problem in processutils module
8b2b0b7 Use hacking import_exceptions for gettextutils._
3b71f46 Fixed misspellings of common words
12bcdb7 Remove vim header
a4dab73 Correct execute() to check 0 in check_exit_code
d6a963e Fix processutils.execute errors on windows
aa5b658 Allow passing a logging level to processutils.execute
1a2df89 Enable H302 hacking check
7119e29 Enable hacking H404 test.
2f01388 Use Python 3.x compatible except construct
a514693 Removes len() on empty sequence evaluation
3893ef8 Import trycmd and ssh_execute from nova.
584c176 Update processutils.
e700d92 Replaces standard logging with common logging

Partial-Bug: #1335284

Change-Id: Ib8897ab8d728e2af9942980f7d66e567fd157f85
Merge "Sync processutils from oslo with deps"