Adding initial support for Joyent Public Cloud.

I'm using this now for a side project, hopefully it will be of use to others as well.