Rename main.c to restartd.c

It is common to name the source file containing the main() function
the same way as the resulting binary.
Update makefile so it supports build-time hardening

Ensure gcc uses LDFLAGS and CFLAGS from environment.
Bump version number to v0.2.4 in preparation for next release