MOCCACAL-66: Remove reading of undefined macro parameters

* refactoring introduced regression that made new events
  always get a defult start value of now, not where the user clicked
  due to using $classname variable which no longer existes
* while being there also updated the "select" callback
  and added a small optimization to "all day" events being
  one day long (they need no end date)