[buildqt] add options to build either dyn or static version

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>
[scripts] measure time spent, gdb build dep download

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