Adding test_hardware for unit tests, also changed mockgpio for easier future testing
Added unit tests complete with reference counting metclassing
Merge pull request #16 from hackernight/hardware_unit_test

Hardware unit test