[be-script] refactor script and add options for batch usage

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>
[buildqtc] add --extra option for adding something extra to revision

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>