Merge pull request #4 from Dav3-LTD/master

Add ability to run build on test
Bring back prepare phase
Merge pull request #7 from Dav3-LTD/master

Fixes JSONStream undefined
Merge pull request #8 from Dav3-LTD/master

Added all the phases.
Fixes the issue in #5