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
Add a self.get_resources method
Prefetch all resources (TESTS FAILING)