Add get events function to db module
Add get events function to db module

db module now has a get function that returns all upcoming events based
on server time. It returns events including those started three hours
earlier than the request time.

Events by default sorted with closest (earliest) event first.

pilsprog/paraply2,pilsprog/paraply2