Added first tests with spec infrastructure

I don't know which branch you would like this in, or if you want me to push it right upstream.

But this should help you with writing a new custom type, testing and all.

Also if you link your account with Travis, you can make sure what you write will be compatible with other versions of puppet besides the one on your box.