Handle schema when global. Clean up code
Handle schema when global. Clean up code

Signed-off-by: thomnico <5d7b651831a7f5cf7c72a23146042589c88b16b7@googlemail.com>

thomnico/fortigateconf,thomnico/fortiosapi,thomnico/fortiosapi