Budget expand and transfer dialogs to bootstrap modal style

- moved budget management api methods from api.php to the new Budget controller
- earnings and budget dialog was renamed from "budget" to "earnings-and-budget"
- budget expand was renamed to only 'budget'
- budget transfer related bug fixes