Improve matching of positions within tree

The position distance now has less influence
on the distance between elements (is taken into
account logarithmically instead of linearly,
since that proably relates better to the
human perception of these distances).
Preserve semantically relevant HTML attributes

The attributes 'alt', 'label', 'placeholder', 'title'
will not be modified by ReMarkup by default and are
ignored for distance computation.