Allow intrinsic functions to be called in any order

An optional transform function can be passed into the resolve
functions, which allows transforms to occur on the child snippets.

Change-Id: I5d9e061c6a55f3939c5e03c780eaad72a001fccc
Closes-Bug: #1256742
Merge "Allow intrinsic functions to be called in any order"