Don't pre-allocate array slots for Document and Element nodes...

Child nodes were moved to a separate table but the arguments passed to
lua_createtable were never updated.