Added User, Patient, and Doctor Models

I implemented the User, Patient, and Doctor models. User has a get and
register method. Patient and Doctor have get, register, and update
methods. In the process of creating them, I attempted to fix the update
process of the SQL (we forgot to update the availability and allergy
tables). I'm not sure if the PHP for that section is correct though, so
someone may want to look it over.