Log linear comment attachment

Change the quadratic comment attachment algorithm to log linear.

Before:

|Source|Size(KiB)|Time(ms)|
|:--:|--:|--:|
|Underscore 1.5.2|42.50|31.30|
|Backbone 1.1.0|58.70|60.02|
|MooTools 1.4.5|156.70|211.06|
|jQuery 1.9.1|262.10|1461.83|
|YUI 3.12.0|330.40|759.88|
|jQuery.Mobile 1.4.2|442.20|3713.60|
|Angular 1.2.5|701.70|1175.43|
|Total|1,994.30|7,413.12|

After:

|Source|Size|Time|
|:--:|--:|--:|
|Underscore 1.5.2|42.5|19.49|
|Backbone 1.1.0|58.7|23.95|
|MooTools 1.4.5|156.7|129.08|
|jQuery 1.9.1|262.1|147.36|
|YUI 3.12.0|330.4|110.62|
|jQuery.Mobile 1.4.2|442.2|395.18|
|Angular 1.2.5|701.7|264.00|
|Total|1994.3|1,089.68|

Speed up: **6.80x**