Added horizontal scroll for resized windows

Signed-off-by: James Booth <boothj5@gmail.com>
having wprintw go through win_save_(v)print.

Signed-off-by: James Booth <boothj5@gmail.com>
Added buffer handling. Buffer are initialized, pushed, and freed. No use is made of them so far

Signed-off-by: James Booth <boothj5@gmail.com>
Merge branch 'master' into winbuffers
Merge branch 'master' into winbuffers

Conflicts:
	src/ui/core.c
Implemented the buffer for windows resizing
Merge branch 'master' into winbuffers
Merge branch 'master' into winbuffers
Merge pull request #374 from immae/winbuffers

Implemented the buffer for windows resizing
Merge branch 'master' into winbuffers
Merge remote-tracking branch 'origin/winbuffers' into winbuffers
Merge branch 'master' into winbuffers
Merge branch 'master' into winbuffers
Merge branch 'master' into winbuffers
Fixed room autojoin messages appearing in room
Merge branch 'master' into winbuffers
Merge branch 'master' into winbuffers
Merge branch 'master' into winbuffers

Conflicts:
	src/ui/core.c
Whitespace formatting
Use constants for flags