Bug 905495 - unit test infrastructure for gaia build system

https://bugzilla.mozilla.org/show_bug.cgi?id=905495
This patch has implemented the first step of build test.
We'll implement more tests later.