specs: test Puppet 3.1.0, only set libdir where required

Bump puppetlabs_spec_helper for #18165, fixes 3.1.0 libdir initialisation
Rename 'licence' so Puppet Forge finds it
Implement prefetch in host provider
Implement prefetch in mailalias provider