Cleaned up get_device_hardware_name by using a macro (related to issue #88).

This prepares it for adding models that are missing, see: https://theiphonewiki.com/wiki/Models