Merge pull request #1 from Dkendal/assemblies-stock-mgmt

Assemblies stock mgmt
stock location is never used, creates additional stock items

Change-Id: I467c0bd8f8ea8c023f850b392f28b3147cb64290
pass the product to add as a variable

Change-Id: I683de61057a82e77a5ba07478bb3a367d263f197
add order validation

validates that there is enough stock to supply all variants
fixes an issue where you could order an assembly and a part, and it
would allow you to purchase more than was in stock.

Change-Id: I75d085d5a844cffa333c9622b3dd006790abe7b0
test didn't need to be using js

Change-Id: I97f75d9ddc7af2165fb4a5ceaf65b516923cf2f2