Merchant API as a component

We're separating merchant API into a component that could be switched in / out. This pull request is a prerequisite step before [WPEC Merchant V3](https://github.com/wp-e-commerce/wpec-merchant-v3) can be used.