Reorganizarion on ffi.cdef:s.

- Reorganizarion on ffi.cdef:s
- waitKeyPressed win version
- osx sleep uses usleep instead of poll
- get_seconds correct cast to uint32_t