Added some tests to activities/submit and refactored it the same way as members/submit.
Added checks for endDate and endTime.
Inlined "sinon" to prevent from accidental use.
extracted validation method and reused it in members and activities.
Extracted the first function from index and moved into the new activitiesGroupsColorsAPI. Moved color and groupname calculation logic from jade file into activitiesGroupsColorsAPI.
Slightly beautified invitation markdown.
Simplified the passing of a function.
Added test for the newly extracted function.
Merge commit '804fd192d0e95aa0ae30ac27bfd563cc85b338c3'
Renamed activitiesAPI to activitiesCoreAPI.
activitiesGroupsColorsAPI renamed to activitiesAPI.
Merge pull request #439 from NicoleRauch/master

Started to separate UI logic from business logic in the activities module.
replacer simon by sandbox
big technical remake of mailsender module
Merge commit '97763fcbf4ac9a6c5f898d30d3bd73388023b5c7'

# By Nicole Rauch
# Via Nicole Rauch (2) and Andreas Leidig (1)
* commit '97763fcbf4ac9a6c5f898d30d3bd73388023b5c7':
  activitiesGroupsColorsAPI renamed to activitiesAPI.
  Renamed activitiesAPI to activitiesCoreAPI.
  Added test for the newly extracted function.
  Simplified the passing of a function.
  Slightly beautified invitation markdown.
  Extracted the first function from index and moved into the new activitiesGroupsColorsAPI. Moved color and groupname calculation logic from jade file into activitiesGroupsColorsAPI.
  extracted validation method and reused it in members and activities.
  Inlined "sinon" to prevent from accidental use.
  Added checks for endDate and endTime.
  Added some tests to activities/submit and refactored it the same way as members/submit.
small fixes after merge
Fixing the creation of new activities
Merge commit '97763fcbf4ac9a6c5f898d30d3bd73388023b5c7'
button in invitation now looks bootstrappy
Merge branch 'master' of github.com:softwerkskammer/Agora

# By Nicole Rauch
# Via Nicole Rauch
* 'master' of github.com:softwerkskammer/Agora:
  Fixing the creation of new activities