ArrayBuilder and DocumentBuilder

Added contexts with a bottom in terms of state popping and operator()
coercions for the existing types.  Makes regular functions more viable.
added runtime_errors