Validate pump settings (#1129)
Validate pump settings (#1129)

* Created validate functions to test validity of pump settings json files.

* Add debug redirects
Test for file existence and greater than zero size as part of validity

* Use valid_pump_settings test in refresh_old_profile

* Logical not valid_pump_settings return value to correct it.

* Reversed logic in valid_pump_settings to be more intuitive.

openaps/oref0,openaps/oref0,PieterGit/oref0,openaps/oref0,openaps/oref0,PieterGit/oref0,PieterGit/oref0,PieterGit/oref0