Added a test framework for CI(travis-ci).

The framework is based on PyUnit and proivde some helper functions
to make the testing easily.

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>
Merge branch 'leo-ma/test-framework', PR #55.

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>

Conflicts:
	tests/testcase.sh