Don't require pkg_resources, but use it if it's available

Apropos to https://github.com/boto/boto/pull/2241#issuecomment-45287662, this change will try to use `pkg_resources` but will fail gracefully if it's not there.