Add in-app purchases

This pull-request adds in-app purchases.

Some partners are want to start writing apps using IAP so we need to update the client library to add this functionality.

Ping: @alexmic