Nice Backyard
sort_armor() rewrite - part 1

- rewrote sort_armor()
- allowed to rearrange foot- and headwear (because OCD)
- fixed catacurses wborder()
- added ncurses *line() functions to catacurses
Fix #2515: monsters get stuck forever in rubble.
Merge sort_armor rewrite, backyards, and bouldering fix.

Conflicts:
	player.cpp