Enhance setup.py, obviate other build scripts

Add generated getdate.c to .gitignore

Change-Id: I2640cfd8bae3ace1f69578de5a1dd88d46184870