common: scripts for building rpm and dpkg packages

- Add scripts for building rpm and dpkg packages
- Update Makefiles to fulfill Debian policy
- Update README file
- Add initial ChangeLog file
- Create .version file containing version tag outside git repo
test: improve detection of installed Valgrind package version

Also restore vmem_valgrind/TEST4.
Merge pull request #11 from krzycz/valgrind-detection

test: improve detection of installed Valgrind package version
Merge pull request #9 from plebioda/rpm-and-dpkg-building-scripts

common: scripts for building rpm and dpkg packages
common: fix minor issues in Makefiles

- fix building with multiple jobs
- fix src/test dependencies
blk: add benchmark for PMEMBLK
Merge pull request #12 from tomaszkapela/PMEMBLK-benchmark-implementation

blk: add benchmark for PMEMBLK
Merge pull request #13 from plebioda/fix-minor-issues-in-makefiles

common: fix minor issues in Makefiles
doc: work around groff bugs in html generation

groff version 1.22 and later has a bug in html generation (via -Thtml)
where .nf sections lose their indentation.  This makes the code examples
in our man pages all slammed together to the left margin.  Reverting to
groff version 1.18.1.4 avoids this bug, so the path to groff is changed
to /usr/local/bin for now to remind me to use the local install until
the bug is fixed.

Even with the old groff, blank lines in the code examples cause the
next line to have the incorrect indentation (off by a space).  Adding
a tab on the blank line avoids this bug while leaving the output of
the man command the same.

groff does document that the html driver is just beta quality, so
hopefully these issues will be fixed in future updates.
common: add three checks to cstyle
examples: add Intel license to four source files
Merge pull request #15 from ldorau/examples-add-Intel-license

examples: add Intel license to four files
common: fix cstyle checking

Make cstyle check benchmark directory and correct cstyle errors
in this directory.
Merge pull request #16 from ldorau/common-fix-cstyle-checking

common: fix cstyle checking
Merge pull request #17 from ldorau/common-add-three-checks-to-cstyle

common: add three checks to cstyle
doc: add instructions for contributing

Fixes: pmem/issues#2
benchmarks: add Intel license to two source files
test: update PHONY targets in two Makefiles
Merge pull request #18 from ldorau/benchmarks-add-Intel-license

benchmarks: add Intel license to two source files
Merge pull request #19 from ldorau/test-update-PHONY-targets

test: update PHONY targets in two Makefiles