Fixed an embarassing typo in api.mdown, rationale for transaction-based
workflow added