fix gh-362 and lots of error messages fixes
Merge branch 'fix-gh-362-v3'

Conflicts:
	test/app/cfg.result
	test/app/float_value.result
	test/app/init_script.result
	test/box/cfg.result