all: replace the settings.h by a singleton Settings class.

This class reads a settings.json file. If this file is not present
in the project directory, it is created using default values.

CAM_ID	   0
FPS       	30		// capture speed in fps
MAX_FRAMES	30		// circular buffer depth
THRESHOLD 	30		// detector threshold
add settings.json to the gitignore list.