Make periodic tasks run on regular spacing interval

Instead of setting the value of _periodic_last_run[task_name] to be the
current time it is set as the nearest multiple of the spacing interval
which is in the past with added jitter. This will ensure the task runs
regularly but avoids synchronizing that interval with other nodes.

This patch also removes the coalescing of tasks which are _nearby_ (0.2
seconds away).

Change-Id: I118ce960c2a7f53130fb4240de3e1574b7e06e63
Closes-Bug: #1326020
Use lockutils wrapper to set OSLO_LOCK_PATH for run_tests.sh

Use lockutils wrapper to get OSLO_LOCK_PATH set for tests.  This is
required for run_tests.sh to pass

Change-Id: I276b07ca41582c04899b5fbc0632c056463ab4c7
Closes-Bug: #1303584
Python 3: replace "im_self" by "__self__"

The Python 3 removed the "im_self" attribute. This patch
replaces "im_self" by "__self__" attribute.
Original description http://docs.python.org/2/reference/datamodel.html

Change-Id: I0e66553ccebfcae750693177354723f332637cf5
Partial-Bug: #1282514
Updated from global requirements

Change-Id: I8d66a3074d610942bd0b8639dfc44cf6ee496dce
Use the standard python logging in network_utils

Instead of pulling in the oslo incubator logging (which
pulls in oslo.config) in the network_utils module (in this
module using oslo incubator logging adds no benefit) just
use the standard python logging which has no such dependency
chain.

Change-Id: Id100286ef020a14a102af7499ae72c849d6468b9
Merge "Python 3: replace "im_self" by "__self__""
Merge "Make periodic tasks run on regular spacing interval"
Move `mask_password` to strutils

`make_password` operates on strings to hide passwords based on some
regular expressions. Since this function is not directly related to
logging but string, this patch proposes moving the function into the
strutils module.

Change-Id: I9fe7f56cf6681099783f81d0a1b219ff10e95ace
Remove `processutils` dependency on `log`

Currently, the processutils module depends on openstack.common.log. This
patch proposes to remove this dependency and use the standard library
logging module instead.

The downside of this patch is that it removes the dependency on the log
module but adds a new dependency on the strutils module because of the
`mask_password` call.

Change-Id: I245750f9f397a231891514f6ed1ea9626513cbbb
Merge "Move `mask_password` to strutils"
Merge "Remove `processutils` dependency on `log`"
Merge "Use lockutils wrapper to set OSLO_LOCK_PATH for run_tests.sh"