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.
Merge pull request #659 from phanect/patch-2

Check existence of Controller class name