clone repository and deploy client before doing anything else for nightly tests

Link: https://github.com/kbase/assembly/issues/190
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
check out the good branch when testing

Link: https://github.com/kbase/assembly/issues/188
Link: https://github.com/kbase/assembly/issues/189
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
Merge pull request #213 from sebhtml/automated-tests

improve automated tests