Refactor directory_to_copy function in online repo tools

On Windows we face the 2G size limit for archives to be
transferred. Do not archive the repository for transfer, just
scp the content recursively to destination server.

Change-Id: I16572b532033bd9d6bd0465f78cda3f0c1999ba5
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>