CB-6756 Initial implementation for the save and restore platforms command

Adds implementation of the save and restore command for platforms. It also enhances the ConfigParser to support engine elements and cordova namespace.