Add date stamp to version number

Add date stamp instead of subversion revision ID.
Merge branch '1.5' into 1.6
Merge branch '1.6' into 1.7