Added the isEmpty function to the PartnerManager.
Added the isEmpty function to the CategoryManager.
Added the isEmpty function to the AccountManager.
Added the hasPartners function to the Database.
Added the hasCategories function to the Database.
Added the hasAccounts function to the Database.
Using the has* functions from the Database.
Merging with the branch refactor. Fixes #11.