bugfixes for customplot and also adding sqlite metadata tables in  midvatten defs
	modified:   customplot.py
	modified:   definitions/midvatten_defs.py
	modified:   midvatten.py
	modified:   sectionplot.py