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.