Improved validation and testing

I added more validation steps and many tests.

It does not support everything in RFC 5545 but that's not the point, it support just enough to get events working well with reminders.
mmm.... field checking look more complex than I thought. But maybe separating this step in a method would be fine.