Reorder functions

This patch reorders the functions to be in the right section (interface
implementation vs. internal stuff).
Add section comments in compositor/monitor_mode.c
Added missing "static" keywords
Whitespace cleanup in compositor/wayland/pointer.c
Add missing section comments in compositor/wayland/seat.c
Add missing "static" keyword
Move static function definition to appropriate section
Fix line length violations in sf_commit_blit()
Fixed comment indentation and line length
Fixup line length in compositor/monitor.c
Fixup line length in compositor/wayland/compositor.c
Fixup line length in input/input_device.c
Fixup line length in input/module.c
Fixup line length in ws_string_mutlicat()
Misc line length fixes

Uh guys, why can't you just configure your god damn editor to do this?
Add whitespace after casting