Added sort form for adding events [unfinished]

The query for getting the events from the given month/year doesn't work
properly. Also, option for discarding day from form doesn't work for
some reason. Also needs tests.