Patch fiscal year creation

In this PR:
 - Fiscal server controller syntax updated to use db.exec()
 - Creating a fiscal year updates opening balances for accounts
 - Client-side syntax errors fixed preventing submission of fiscal year