runtime: addes get_tags_in_window to block_gateway for python blocks. Added QA.

Addresses Issue #683.
Merge branch 'maint'