fixed pin state response issue. Pin state is not the same thing as pin value

Squashed.

commit f02fd52defd6196316b50ab7cb4e2424ddbeae6f
Author: Jeff Hoefs <jeff.hoefs@gmail.com>
Date:   Sun Aug 10 19:07:25 2014 -0700

    added documentation for pin.state to readme

commit 166ba3c7abab6e95408fd72641066f297bd04966
Merge: 6d58a68 ba7d5d5
Author: Jeff Hoefs <jeff.hoefs@gmail.com>
Date:   Sun Aug 10 18:39:54 2014 -0700

    Merge branch 'master' into fix-pin-state-response

commit 6d58a6830dbcf438305ca08f95dd5cb0b3c7651a
Author: Jeff Hoefs <jeff.hoefs@gmail.com>
Date:   Sun Aug 10 18:07:01 2014 -0700

    fixed pin state response issue. Pin state is not the same thing as pin value

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>