Pull out common inventory sorting.
Create full stacks when combining pack. [1733]
Avoid spamming with combine messages.
Add PowerWyrm's fixes for do_ident_item(). [1037]
Remove extraneous parameter in do_ident_item().
Tidy up some format lines.
Factor out some resting code.
Prevent regeneration during the first few turns of resting. [1771]
Merge pull request #280 from bensemmler/1771

The first five turns of resting will have no regeneration bonus. It also fixes an off-by-one with specified rest counts (R1 would rest for two turns).  Closes #1771.
Merge pull request #279 from bensemmler/1733

Stacks are only merged when the pack is combined (this doesn't allow for partially picking up a stack from the floor or a shop), and fix bugs introduced with inventory sorting and identification.  Closes #1733 & #1037.
Added suite failure and test failure detection to tests/run-tests.
Revert a small part of d5d818a to respect calling interface of
disturb(). (player_is_resting() now assumes the existence of a global p_ptr.
Future refactors should convert player/p-util.c functions to take
player pointers as arguments.)