Revert "fix compiling errors in persistenced"

This reverts commit 8de1a1ffe9931b31e2b35dda1248ad9bd2999fae.
Revert "Add persistenced to Makefile"

This reverts commit e4fab3d3907aa537280931b919c0abf6f1133623.
Revert "Initial refactoring of mtd-storage to be a daemon. Modified CAL start up scripts to start it, wait for file signallling persistent storage is loaded. Modified helper scripts to use SIGUSR1 to trigger a persistent-save and SIGUSR2 to trigger a persistent-format. Internally, the daemon does thie identical functionality which will need to be changed for memory allocation fixups. Keeping mtd-storage executable in the filesystem for reference now, but eventually it should go away as well"

This reverts commit 371f5e1ceb6ad5b111e3508a7db5c5d7b7780889.