Update ModuleSimpleEventRegistration.php

added a endtime check for unregister
Merge pull request #1 from magicsepp/master

Update ModuleSimpleEventRegistration.php
Merge branch 'develop'

* develop:
  Edits on the backend to display data for the registration. Fixed the registration, unregistration in the frontend.
  Fixed a problem with the registration model and registered in the Globals-Array
  Modified some references in the module
  Replace some database actions bei model calls
  Add check for ended events to cancel registration
  Add method to find all registrations for an event
  Fixed problem with sub palettes shown on initial event editing
  Add Namespace to files, create model-file and create autoload
  Created folders modules and classes and moved files to these folders
  Merge the database.sql to the dca-files
  Rename folder html to assets
Fixed Conflict
Fixed Bug
Add composer.json
Changed Repository name
Fixed bugs, so the module works on Contao 3.2
Fixed some problems with the insert-tags
Added $objPage and renamed other page objects