enabled function getters

Instead of an array, the user can give a getter function which returns an array of strings or suggestion objects.

If it's a function, verification and conversion (string to suggestion) is done each time the function is called.