add documents for PIG-3182
modify RTRIM.java