Made a fix to the index view.
Updated the way errors are handled and their views.
Changed the session class so that it creates cookie objects for cookies.
Moved cookies from the response class to the session class. Updated some tests.
Added requirement for ROOT to be defined, added method for getting config.