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