Fix merges not working when project is not licensed for squash

Merged Stan Hu requested to merge sh-fix-squash-when-not-licensed into master

Projects that did not have the squash feature licensed would have the squash parameter set as nil, which would cause a database constraint error. This MR will default the value to false.

Closes #3321 (closed)

Edited by Stan Hu