Created README.md
Fixed PHPDocs
Altered the code so that the plugin was compatible with the changes in Moodle's calendar type system
Changed the name of the function factory() to match the change in core