Add support for special device types.

We added some support for making sure a newly created devicetype
is catched by any of the is_xxx macros but for that to work we need
to test for all of those device testing macros.