Issue 3599: Add snippets_enabled flag to projects for API

Fixes #3599.

I have tested this for both creation and retrieval via API and it all works as described. I applied these changes and tested on a master branch build.

Please see previous pull request at #3989 for discussion regarding the comments.  I had some issues with the squash and ended up having to close that PR in favor of this one.  Thanks.