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>
Define real functions for ale_transform pseudo-functions.

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