Change ProjectName validation logic to be the same among windows client, web client, tap, mist, simulator and the cli

refs #251289
Merge pull request #325 from Icenium/totev/validate-projectname

ProjectName validation logic is shared among all clients