re-write functions in common
Re-write log to use symlog also
Install via PIP
First use of unittest for Travis

Conflicts:
	common.py
Add some tests
Change travis file