Rewrite of API, models and views

Hey,

We have worked for the last 1+ month with rewriting the API endpoints, the models and a lot of other things in this repo. We will keep maintaining this as long as we use Paypal Adaptive on our site. Please feel free to merge back the changes that you feel are appropriate into the original project.

Cheers
/Anton