Fixed permissions issues in the CSS cache file generation.
Fixed variable name.
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 #1739 from ahukkanen/permissions_fix

Fixed permissions issues in the CSS cache file generation
Merge pull request #1771 from ForestMist/master

Backup speed optimization