Support newsstand receipt check

- Update Block coding style
- support check receipt with apple server
- Fixed some coding style