Refactored cost computation -- now clearer.

Got rid off 2 dots per line in BomPart.cost() by passing cost &
quantity to Part.cost(), and then refactored again.