Update builder.type to work with Packer >= 0.5
Merge pull request #2 from alanpearce/packer-compat

Update builders.type to work with Packer >= 0.5