I have available patched versions of the source to work with MySQL 5.1, and to accept any numeric values as input (instead of only REALs). I also added a MOMENT() UDF based on KURTOSIS() and SKEWNESS() that returns any central moment of the provided data.
If anyone's interested, I'll submit the patches this weekend.