Add helpers for other line details to line model.

This adds helpers for the other detail types such as was present for sales_item!, and is present for other types on the invoice line item.

It should be noted that this also fixes a typo in the constant for SALES_LINE_ITEM_DETAIL to SALES_ITEM_LINE_DETAIL.  This has potential to be user space breaking if it was being used directly.