asserts: add assertf and dbg macros

assertf - formated output
dbg - debug message
also allows use normal assert
asserts: add ifdbg macro, change dbg macro format

New macro ifdbg prints message when condition is true
asserts: put few asserts into connection.c

Mostly checking functions' arguments
asserts: put some asserts into event-loop.c

mostly 'sanity' asserts (check functions arguments etc.)
assert: put some asserts into wayland-client.c
asserts: include stdio in wayland-assert.h

to have all-inclusive ;)
asserts: some asserts in wayland-util.c
asserts: check if epoll_ctl succeded
asserts: check epoll_ctl's return value
asserts: added asserts

usually just "sanity" asserts (checking function arguments etc.)
asserts: debug messages in wl_buffer_put

Move original ifdbg() before memcpy() so that it will be printed before
possible crash.
Add new ifdbg() that is printed upon count > 2 * sizeof data (that means
when it's possible to overflow)
asserts: add new asserts and dbg messages into event-loop.c
asserts: add new asserts and debug messages into wayland-server.c
dbg: comment out debug information

these situation seem to happen regulary, so don't let terminal be
flooded by them
asserts: print whether we got error or hangup
asserts: new asserts in wl_array

wl_array_{add, copy}
new asserts and dbg
new asserts