Refactor to use shared gpio gem

Refactor to use the standard shared GPIO drivers. Initially only supports digital IO.