Added byte that tells arduino to use gpio write or read
Changed the data type of read to a reference to get the read value
Fixed built in device type in gpio read
Merge pull request #19 from sebEg/gpio-develop

We should change the rest of the read() functions to also do pass-by-reference.