Integrated ExpenseType view with database.
Minor correction to expense types hierarchy in sqldb.js