3479 migrate lines#index table builder helper to new table builder
Created by: teddywing
Updates Lines#index to use the new table builder.
This also fixes a bug with TableBuilderHelper::URL, where it tried to access current_referential which was not in scope. Instead pass the value in directly to URL.polymorphic_url_parts.