Issue 3599: Add snippets_enabled flag to projects for API

This pull request solves #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.