(CFACT-20) Implement JSON output.

Implementing JSON output of facts.
Implementing map_value to support complex fact values.
Implementing integer_value to support integer types in JSON output.
Fixing output of existing integer types.
Normalizing facts names taken on the command line.
Moving version header into facter library.