speed optimization

Removed unneeded MoveFirst and while loop.
Look up field types once per table instead of per row.
speed optimization

Cache isQuotedType function once per table instead of every row.
Special thanks to mlocati!
Merge pull request #1771 from ForestMist/master

Backup speed optimization