Device reporter draft2

Javi,

Here are the changes to nodepackagekit_test.js that make some of the tests conditional.

Something odd happened when I pushed to github, but I haven't time to investigate.  It's here for you to look at.  Tomorrow I will double check and possible fix.

Thanks.