improve atom/atom.d.ts and add text-buffer/text-buffer.d.ts