Implemented simplified validation for Class Name field

It should cover more cases, it is closer to actual legal scalaid, as it was discussed=)