Cleaned up TransactionForm validation.
Added support for transaction editing.
Resolves #16.
Prettified form buttons slightly.