update examples/repl.lua
api.__index: Return functors (objects with __call method) instead of plain functions

this provides a way to implement function attributes
objects.rate_limit: Add function to get the rate limit of the specified object