setup.py: add missing !#/bin/env python header

Without it, setup.py is interpreted as a bash script.
Merge pull request #153 from lmr/ctrl-c-handling

avocado.job: Change Ctrl+C handling
Merge pull request #154 from lmr/trivial-fixes

setup.py: add missing !#/bin/env python header
avocado.core: Introduce tree library

Introduce a new data structure that will be the base of
our new multiplexing mechanism.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
avocado: Introduce the new multiplexer library

Based on the new treenode data structure, we
built a new multiplexing algorithm. It has some
different properties and uses a more standard
YAML file format for the configuration files.

This commit is the new base library.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
avocado: Change framework to use the new multiplexer

That change has to be made all at once for the sake of
bisectability. Update avocado.job and the multiplexer
plugin with the new multiplexing library code.

Also, update functional tests, the avocado sample tests
with the new YAML based config files, and the requirements.txt
file with the new prominent dependency of avocado, PyYAML.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
avocado: Remove the old multiplexer

Signed-off-by: Ruda Moura <rmoura@redhat.com>
docs: Update documentation with new multiplexer sections

Also, remove the references to the old system.

Signed-off-by: Ruda Moura <rmoura@redhat.com>
Attempting to change pip installed Python-YAML with Ubuntu package

As we had problems with it in Travis CI jobs.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>