Don't defer stopping OpenStack slave to a thread

The thread didn't do anything but poll whether the instance was deleted
or not. That's not very useful, so drop the polling and simply delete
the instance.
Don't reference self.instance in _start_instance

Don't reference self.instance, since it could be set to None by
stop_instance. This does not happen yet, but could in the future.
Fix typo: ths
Fix build start time retrieving

When build is not finished getTimes() returns tuple (start_time, None),
and min((start_time, None)) == None.  This lead to incorrect sorting of
builds in grid view --- not finished builds were displayed first and if
there were more build revisions than grid width builds (five by default)
not finished builds doesn't displayed at all.
Merge branch 'grid_build_time_bug' of git://github.com/vrutsky/buildbot
Merge branch 'typos2' of git://github.com/vrutsky/buildbot
Merge branch 'openstack-cleanup' of git://github.com/seankelly/buildbot
fixed several PEP8 violations
removed docstring clearly inherited from contrib code
full refactor of github web hook:
  - removed unnecessary time conversions and replace it with
    dateutil.parser
  - updated dictionary keys that were hitting deprecation warnings (who
    and when for author and when_timestamp)
  - reindentation and other code sanitize
added bitbucket web status hook
Add option to 'Rebuild' button to build updated sources

Right now the Rebuild button builds the exact same checkout as another build. This makes it difficult
for the following workflow:
 * run a build on a branch; it fails
 * fix the branch it built
 * hit "rebuild" -> but it builds the original revision
unit tests on 'buildslave upgrade' command

Test that older buildbot.tac files are updated correctly.
Test that modern buildbot.tac files are not changed.
Merge branch 'bitbucket' of git://github.com/DamnWidget/buildbot
#
# It looks like you may be committing a merge.
# If this is not correct, please remove the file
#	.git/MERGE_HEAD
# and try again.

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
# On branch master
# All conflicts fixed but you are still merging.
#   (use "git commit" to conclude merge)
#
# Changes to be committed:
#
#	new file:   master/buildbot/status/web/hooks/bitbucket.py
#	modified:   master/buildbot/status/web/hooks/github.py
#	new file:   master/buildbot/test/unit/test_status_web_change_hooks_bitbucket.py
#	modified:   master/buildbot/test/unit/test_status_web_change_hooks_github.py
#	modified:   master/docs/manual/cfg-changesources.rst
#	modified:   master/docs/manual/cfg-statustargets.rst
#
add relnotes for previous commit
Merge branch 'RebuildOptions' of git://github.com/jaredgrubb/buildbot

#
# It looks like you may be committing a merge.
# If this is not correct, please remove the file
#	.git/MERGE_HEAD
# and try again.

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
# On branch master
# All conflicts fixed but you are still merging.
#   (use "git commit" to conclude merge)
#
# Changes to be committed:
#
#	modified:   master/buildbot/process/builder.py
#	modified:   master/buildbot/status/web/build.py
#	modified:   master/buildbot/status/web/templates/forms.html
#	modified:   master/docs/relnotes/index.rst
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
# On branch master
# Changes to be committed:
#   (use "git reset HEAD^1 <file>..." to unstage)
#
#	modified:   master/buildbot/process/builder.py
#	modified:   master/buildbot/status/web/build.py
#	modified:   master/buildbot/status/web/templates/forms.html
#	modified:   master/docs/relnotes/index.rst
#
Extend the reconfig timer when certain progress lines are seen
Merge branch 'slave-upgrade-tests' of git://github.com/elmirjagudin/buildbot
#
# It looks like you may be committing a merge.
# If this is not correct, please remove the file
#	.git/MERGE_HEAD
# and try again.

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
# On branch master
# All conflicts fixed but you are still merging.
#   (use "git commit" to conclude merge)
#
# Changes to be committed:
#
#	modified:   ../slave/buildslave/test/unit/test_scripts_upgrade_slave.py
#	modified:   ../slave/buildslave/test/util/misc.py
#
Merge branch 'ExtendReconfig' of git://github.com/jaredgrubb/buildbot
#
# It looks like you may be committing a merge.
# If this is not correct, please remove the file
#	.git/MERGE_HEAD
# and try again.

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
# On branch master
# All conflicts fixed but you are still merging.
#   (use "git commit" to conclude merge)
#
# Changes to be committed:
#
#	modified:   master/buildbot/scripts/logwatcher.py
#
add relnotes for previous