Sort inventory by item charges, use low-charge items first

FINALLY got it so that low-charge items will consistently be used in favor of high-charge items.

Doesn't do anything for matches vs. lighter use, though (since it also sorts by item ID).
Change X-Acto knife description

Closes #1451
Use the prescribed method for converting from a string literal to a char*
Use an explicitly unsigned char variable for array access
Remove the unused (and unlikely to be used) OutputText function
Don't snap the view to the player when targeting. Fixes #90.
Cooking with Javelins Issue #1438 FIX

Add Javelins again which was lost due to oversight.
(Re--added Javelin to Cooked Meat ,Cooked Human Meat and Cooked Veggy
Recipe)
Check AMMO_FLAME correctly in game::fire

Fixes #1457
Merge pull request #1459 from fergus-dall/flamethrower
Use absolute-value based range calculation when circular distances is turned off.

If circular distances is on, use the old trig-based range calculation. 

If circular distances is off, use either the distance along the x axis or the distance along the y axis as the range value (whichever is bigger), because that's how non-Euclidean square-tile based systems work.
Changed trig_dist to rl_dist for range calculations

This should ensure both circular distances and roguelike distances use proper range calculations.
Merge PR #1456 - Cooking with Javelins
Merge PR #1455 - view centering while aiming
Signed off.
Batch of bugfixes.

Conflicts:
	SIGNOFF