PHOENIX-995 Add ENCODE and LPAD functions (Thomas D'Silva).