fix the initial state for gpio toggles when accessing through api
Merge pull request #41 from JorisM/fix/gpio_original_state

fix the initial state for gpio toggles when accessing through api