Profile automation for tests + Travis build.

Incidentally fix a regex that generates 'nothing to repeat' error on Python
2.7.8.
List python-lxml contents
Use system site packages
Maybe add python3-lxml?
Improve test.sh
Merge branch 'tests4' into tests

Conflicts:
	.travis.yml
	test.sh
Fix installs in travis.yml
Fix bad merge
How to create test_profile_skeleton.
Remove some lines from extensions.json and reindent.