renamed assemblies_parts.count_on_hand to available_count

Change-Id: I7145dca68be5e24b30396efaabc3a835b43a805f
cleaned up quantity_by_variant

Change-Id: Ib39cd4b8f09c0bac56059ad4b3cfaf6ccab3ed34