Check existence of Controller class name

If conrtoller name is different from naming rule, error occurs with inappropriate error message.
e.g. If file name is paper.js, class name should be Papers, but if class name Paper, error occurs.