Add a link method to Thread

This will allow users to link their own callback functions to a
greenthread.

Change-Id: Ie2086e79ffdb75a4bd041ad919a2d0148fbcde6d
Allow lockutils to get lock_path conf from envvar

This would allow us to provide a common dir for all locks in all
processes involved in testing or running software.

Change-Id: I64fccddc92ada67a3df6daf86d73750a41bbce05
Add main() to lockutils that creates temp dir for locks

This change would allow us to create one directory to store all locks
from all processes involved in testing in projects.

Here are examples on how to use this:
Heat - https://review.openstack.org/47360
Ceilometer - https://review.openstack.org/44809
(see tox.ini)

Change-Id: I9e1260e202b7d8feb9c762a879b9804ed85ccbd6
Merge "Allow lockutils to get lock_path conf from envvar"
Merge "Add main() to lockutils that creates temp dir for locks"
python3: use six.text_types for unicode()

Type for representing (Unicode) textual data. This is unicode() in Python 2 and str in Python 3.

Change-Id: I8319287f3294ebf7c1a506cd4f68509d9554a5ef
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Merge "python3: use six.text_types for unicode()"
Merge "Add a link method to Thread"