some minor improvements

* removed javascript for image placeholder and replaced it with just normal image
* improved image handling in edit event (seems I forgot this in my previous pull request)
* changed get_approved_events to not return events with past starting date (it was ending date before)
* and wrote some tests for above mentioned method