New attribute type, support for hostcheck command

Hey Devon - 

Been adding some functionality to the module over the last few months, and given the changes some real-world testing. 

If you want these as separate pull requests, let me know - I know there's a lot going on here...