Include unix_dir.c when compiling under cygwin.
Fix missing type declaration.
Fix poor promiser form for commands promise
Spaces in commands type promisers cause warnings about binary not
existing. Any spaces in the promiser should be in the args attribute.
Closes Redmine 1277
Implement $(sys.cpus) on HP-UX platform

Uses the HP-UX mpctl() function to query the number of processors
available system-wide (as opposed to within a processor set) in order
to populate the $(sys.cpus) variable.

In HP-UX running on Intel Itanium Hyper-Thread Technology processors,
where each CPU core has two virtual cores, the total number of virtual
- rather than physical - cores is provided, which corresponds to the
behavior of the Linux scan of the /proc/stat file with HTT is enabled
on x86 platforms.

On a PA-RISC system, the total number of physical cores is set. The
PA-8900 processor has two physical cores per CPU socket, so an rp8420
with 16 PA-8900 processors will set $(sys.cpus) to 32, as expected.

It may be worthwhile to implement a $(sys.cpusockets) variable too,
in light of things like Oracle and Red Hat licensing.

The mpctl() function is documented at this page:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02264569/c02264569.pdf
Add rpmvercmp utility to compare RPM packages versions

This utility allows proper comparison of RPM packages versions for packages
promises (for package_version_less_command / package_version_equal_command
hooks).
Include sys/types.h to rpmvercmp to bring uint32_t into scope
Fixed namespaces description

Some sentences were incomplete or unclear.
Merge pull request #191 from zzamboni/fix/namespace-docs

Fixed namespaces description
Fix copy-paste error in documentation
Replace date +%s in testall with more widely compatible code (Mantis #1254)

In order to calculate the total run time of acceptance tests, the
testall script needs the UNIX seconds - a time() call - of the start
and end times of the test runs. It currently uses the command
"date +%s" to get these times.

Many older OS platforms - such as HP-UX 11.11, Solaris 8 and 9, and
others - do not support the "%s" format for the date command.

This patch creates a unix_seconds() subroutine which uses the modern
"date +%s" command if available, falls back to a Perl "print time()"
call, and failing that it falls back to pulling the octal date out of
a pax-created cpio header for an empty temporary file and converting
it to decimal using "bc."

This code will work on every POSIX-compliant platform (since the
pax/cpio/bc approach is strictly POSIX) as well as any platorm that
has a copy of Perl in the path.
Extend file_changes.log with information about promise handle.
master branch is open for 3.5.0
De-hardcode /tmp as a temporary directory for db_test
.mailmap for git-shortlog
ext/ subdir need to be executed
Merge pull request #193 from maciejmrowiec/master

Extend file_changes.log with information about promise handle.
Optimize WriterWriteChar for StringWriter
Add JsonPrimitiveGetAsReal
Add JsonAt
Add JsonSort, make SequenceSort take user data