Fix issue #36 bug in Application::get/setOption()

#36: DomainException thrown when option key exists but value is null