Fix fpm on Python2.5

- fix SyntaxError in get_metadata.py
- use simplejson if json module is not available
Don't trim gem version.
Include subdirs of --directories option as %dir directives in SPEC files
Merge pull request #293 from justintime/patch-1

Include subdirs of --directories option as %dir directives in SPEC files
Forgot to prepend the class
Merge pull request #294 from justintime/patch-1

Forgot to prepend the class to the FNM_DOTMATCH flag
Merge pull request #279 from denik/master

Fix fpm on Python2.5
Merge pull request #292 from r4um/fix_291

Fix #291 don't trim gem version.
.
Get rid of this bundler nightmare.
version numbers can have multiple digits
- Add new 'version' info
- Make 'fpm --help' report the version as well as some other useful
  info (fixes #281)
- ignore Gemfile.lock
- update for 0.4.23
- change where version is picked from
Fix #276 Don't add empty URL
* Fix #278 Don't require additional args when --inputs is specified
* --inputs only valid with -s dir
* Strip lines when reading from file from --inputs
Merge pull request #297 from r4um/fix_278

Fix #278 Don't require additional args when --inputs is specified
- style fix
Merge pull request #296 from r4um/fix_276

Fix #276 Don't add empty URL