#30 select() and promises

the function specified in the mentio-select attribute can now return
Promises instead of only a string.  Both are supported.