Preserve the product_id when updating a billing_mapping

This had created a billing_mapping with product_id = NULL before, which
is no longer a valid option and caused the panel to fail
Correctly select customers under reseller-> customers section

Only show the most applicable billing_profile using the complex
query from the Contract controller
Mantis: 3855