Changed back WaitEvent() and WaitEventTimeout() to use passed-in variable

Signed-off-by: Jacky Boen <aqiank@gmail.com>
Change back PushEvent() to return int instead of bool

Signed-off-by: Jacky Boen <aqiank@gmail.com>
Added tests for WaitEvent and WaitEventTimeout
Added test for PushEvent
Merge branch 'master' of https://github.com/jackyb/go-sdl2
rename 'Test*' to '*' because file hierarchy implies they are tests
Added tests for PeepEvents to Peek into incoming events
Call PumpEvents before PeepEvents
Eliminate placeholder statement in PeepEvents_peek
Fix timing for pushing 1 event per second
Fix timing for pushing 1 event per second
Merge branch 'master' of github.com:akovaski/go-sdl2
make pEvent a pointer, like pretty much all event variables are
A little clean up on sdl_events.go

Signed-off-by: Jacky Boen <aqiank@gmail.com>
Merge pull request #12 from akovaski/master

Added some tests
Changed *Event to Event for PushEvent()

Signed-off-by: Jacky Boen <aqiank@gmail.com>