Run transform on pseudo-functions' arguments.

Change-Id: Id0f11445dabcb32f1f34ec7ec52291d6262d65a5
Reviewed-on: http://review.couchbase.org/37522
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>