search improvement, now we are looking for references only inside view files and controllers, closes #1, closes #2