Updating the position that the error handler is initialised
Updating the filename to search for the extension
Updating the syntax for the xml of the extension file
The spaces where kind of un-needed.
Removed the use of classes.
Started updating the spacing syntax for the code in database.inc
part-way through updating the spacing syntax
Removing isAdmin() as hasPermission() can be used instead
Updating spacing syntac