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>