Modify inapp is_purchaseable logic (bug 1058953)

- Simulated products are always purchasable
- Stub products are always simulated
- Added tests
it might be more realistic to make update the parent app so that it's non-public