Modify inapp is_purchaseable logic (bug 1058953)

- Simulated products are always purchasable
- Stub products are always simulated
- Added tests
I would be ok if you deleted this test though because we don't have this feature yet. Things might change when we land the feature.