Moved some functionality into SectionedService

Moved entryupdate' functionality into SectionedService and updated related
files. Removed entryupdate from the project.

SectionedService has now been updated to use the PDO function to connect.

Additionally a function for getting the course name from an ID has been
added to courses.php in Shared.