Remove license text from the files that are not essential.

Remove the license text from files inside docs, examples and selftest,
to keep the license text only in relevant parts of the project.

References:

* https://fedoraproject.org/wiki/Packaging:LicensingGuidelines
* https://www.gnu.org/licenses/gpl-howto.html

Signed-off-by: Rudá Moura <rmoura@redhat.com>
Merge pull request #269 from ruda/remove_license_non_essential

Remove license text from the files that are not essential.
.travis.yml: Return apt-get update

Since we have to install extra packages in the VM, some
of which might have been moved/updated, apt-get update
turns out necessary.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #278 from lmr/fix-travis-apt-get

.travis.yml: Return apt-get update
no changes, just style cleanups
avocado: Insert children using add_child tree

When initializing TreeNode we should use the add_child function
in order to set the parent correctly.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
avocado.multiplexer: Construct the tree directly from yaml file

Instead of creating OrderedDicts and then converting it into
tree structure, this modifies the `mapping` constructor to create
the tree structure directly. This way we only walk through the yaml
file once.

Also remove the `tree_unittest.TestReadYAML` selftest as it lost it's
meaning. Valures are checked in the TestTreeNode selftest.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
avocado.core.tree: Use yaml.CLoader when available

CLoader is C (faster) version of the Loader. In case it's unavailable
it fall-backs automatically to the default Loader.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
selftests: Speedup functional..multiplex_test

multiplex_test uses sleeptest to check it supplies the values correctly.
This patch uses passtest instead.

For now it uses the same multiplex file and in `test_run_mplex_timeout`
still uses sleeptest, but there is FIXME message to use envtest once
it supports params passing (another pull request)

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>