LOGBACK-729: Currently there is no support for nested variables/options

These are the proposed changes for the nested option evaluation.