Updated build.sh to extract current Git branch,commit 

Updated build.sh to extract current Git branch,commit and if any loca…
…l files have been changed, these values are then used in the server startup message to make it clear what release of sync_gateway is being run. fixes issue #391