Remove locals() from compute directory

Replace locals() with dictionary of the values to be printed

Change-Id: Iec926e859a5b340a04d9ada7c770b58eecd450b6
Fix binding of SQL query params in DB utils.

We should not rely on string.format() or % string formatting
when binding params of SQL queries. This particular case is
trivial and the input is completely controlled by a developer,
but we should always be pedantic to encourage good coding practices.

Change-Id: I3c44aa722681e3b80e95641a296e7e1f1a463a8a
Merge "Remove locals() from compute directory"
Merge "Fix binding of SQL query params in DB utils."
Merge remote-tracking branch 'm_src_repo/citrix-fixes' into build-temp