Prevent purchases of inapp on non public app (bug 1043590)

- Add form validation
- Add test
Merge pull request #2457 from JaredKerim-Mozilla/1043590

Prevent purchases of inapp on non public app (bug 1043590)