Changed treatment of Project Settings

JSON decoded properly now in PHP which has side-effects on using it
Included Project ID in Project Settings (I had left that out)
Removing support for old format of Project Settings