Fix stat when using -rpm-use-file-permissions:
Strip leading slash from file pathname before call to stat,
otherwise the correct file permissions will not be computed.
fix custom channel discovery
make path fixing broader for packages like PHP_PMD
add option for custom data dir
pear: catch encoding errors during replacing staging path in files
- actually respect the compression flag (instead of failing)
  Reported by George Reilly on the mailing list.
- use lib* to catch lib, lib64, etc (#443)
Use the proper gemdir setting when --gem-gem is specified
Allow JSON >= 1.7.7 to be used with FPM
- replace ftw with the always-terrible net/http  for continued ruby 1.8
support (ruby ftw uses lots of APIs not available in ruby 1.8 and not
provided by backports.).

(╯°□°）╯︵ ┻━┻
Use the specified gem command to obtain the gem bindir
Merge pull request #473 from torrancew/allow_json_18

Allow JSON 1.8 to be used with FPM
Merge pull request #465 from oker1/pear_data_dir

Pear: custom data dir
Merge pull request #474 from torrancew/use_gem_env

Use the proper gemdir setting when --gem-gem is specified
Remove default value for the Gem package type's --bin-path flag

This allows the path to be calculated dynamically (and properly)

Also, add staging_path to bin_path
Merge pull request #476 from torrancew/use_gem_env

Remove default value for the Gem package type's --bin-path flag
- don't abort on 1.9 anymore when using cpan
- update changelog
version bump
Merge pull request #464 from justrich/rpm-use-file-permissions

Fix for file stat when using -rpm-use-file-permissions