fixes #61 added version script which also handles CI versions

if we have continuous deployment we need a fine grained version number to determine when the app was pushed. this commit adds a script similar to FieldDB, and also adds the CI build date on the version number.