Add return types for different function return values. Add aggregation f...

...unctions

Nice start. I thought I'd expand your work a bit.

I've added a mysqludf link to https://mariadb.com/kb/en/mariadb/documentation/functions-and-operators/user-defined-functions/