Implement bna.getTimeOffset()

Based on code by Tim Wienk
Support any callable in getToken()

Incidentally, this fixes runtime definition of time().