Redesign parsing logic of cop disabling comment

This fixes #862 and some other bugs in the old error prone parsing logic.

The new logic uses comment and token objects from Parser rather than parsing each source line with regexp.