A little bit extended checking

Now we have check for all these calls:

model -> model
controller -> model

js -> controller
view -> controller
controller -> controller

Code is refactored, regexp has been introduced in project (more accurate string operations).