Added check for required fields in Config object when setting it in an app object.
Added check for required fields in Config object when setting it in an app object.

PHPFrame/PHPFrame,chrismcband/PHPFrame,chrismcband/PHPFrame