Rpleth tests.

Improve rpleth tests code.
config file update 1
cleanup config folder
Factory Reset.

Reimplement factory reset support.
Network configuration support.

Network config is back. Needs a bit more testing.
This patch does a little bit of code cleanup too