FileSystemTileCache: made threading configurable and added configuration to Samples app