Add spec file to build RPM

This commit also fixes the Makefile.in to have correct install
destination directory set.
Detect systemd in spec file in the same way as autoconf
Fix macro expression to check systemd presence
Fix bash scriplet to check systemd presence
Add rpm build instructions to README.rst
Fix systemd check code in %post and %preun