Added support for saving data in ModPE

Added bl_readData(prefName) and bl_saveData(prefName, prefValue) support for ModPE.