Bug fix for donation phase adjustment.
Change the order thanks page to take an order id.

This commit also adds the pending status for donations and payments.

BB-286 #resolve
Add Dia flowchart for order and payment flow.

BB-281 #resolve
Add pdfs for DocData API documentation.
Merge pull request #297 from benkonrath/order-thanks

Order thanks improvents.