added name cat to facilities

initial to get branch set up more to come
added indexes

to all except users which already had them
documents table

string :category
string :title
index :title
string :path
date :expiration
Assoc

Small change to documents table, created associations between  users and
all other tables.
Added associations between tables
Fixed error in users controller affecting user creation

user_params method had a typo in it (used :name instead of :fname and
:lname). Probably corrupted from merging of git branches
Added support for creating income records; renamed type field in models
Index action and view for income model
Added show view for income records
Added formatted getters to Income amount field
Fixes

Added missing index to vec, added has_one between fac and user, updated
expense to change type