removes magic encoding comments, not needed in ruby 2
[WIP] reviewing links. References #98
[WIP] Moves links parsing to a new LinksParser class,
so we can have links.all, links.internal, links.external, etc.
References #98