Modify inapp is_purchaseable logic (bug 1058953)

- Simulated products are always purchasable
- Stub products are always simulated
- Added tests