add getScheme to ShadowIntent
add tests
Merge pull request #1250 from dodgex/1167_1244_add_getScheme

add getScheme to ShadowIntent