Convert OC_Appconfig to object interface

Implemented unittest for OC\AppConfig
check for valid appinfo in installer
Style fixes
Enable appconfig asserts