Moodle updates

Consolidated codebase so that both Moodle and Wordpress now support multiple endpoints. Bugfix to FileGrid needs to be applied.

The uninstallation of a Moodle block would fail if one of the tables to be dropped weren't created in the first place. The uninstall script now checks for the existance of tables before dropping them.

Fixed HTML tags in header.