CORE-288 Adding post-merge hook so that merges and pulls/fetches have th...

...e build number set the same as when checking out.