Add input callback `on_readline_available`

For providing an explicit way of initializing the readline
for an interactive session. Also fixed some inputs that were not
following the protocol of having initial text passed as the
first parameter, and modified the input call wrapper to always
provide that parameter when an input is created programmatically.
Moonscript: Fix lexing of special values in fdefs