The reset of all folders failed when there was no data for a given folder, as it was not returned by db.ListFolders then. But we don't really care about that, we can "reset" it anyway...
Added internal/rc to remote control a Syncthing process and made the "awaiting sync" determination reliable.
/rest/reset clears the entire Syncthing DB and restart the program /rest/reset&folder=default clears the indexes of the default folder