Add new PROJECT flags, implement PROJECT_SAFE
Prepare for arc projection
Add get_angle_to_grid table
First rough cut at generalising project()
Some tidying of project() and subfunctions
More project() tidying
f is for feature :)
Fix subwindow settings problem elly found, started in 6cf3437e0.
cmd-pickup: remove cmd_get_arg_item() test in do_cmd_pickup()

This test requires that the command have an item argument, but pickup implicitly
targets the floor and so has no argument.
project(): fix order of args to loc()

Really we should always pass locations as struct loc to avoid this bug, but
it's slow going with so much code passing y/x pairs.
Merge pull request #311 from elly/pickup-no-arg

cmd-pickup: remove cmd_get_arg_item() test in do_cmd_pickup()
Merge pull request #312 from elly/loc-arg-order

project(): fix order of args to loc()
Initialise 'item' arg in do_cmd_pickup().
Replace p_ptr with player.
Merge pull request #313 from takkaria/restruct

Replace p_ptr with player (+ fix one small bug)
Add some more commands and the beginnings of an object system for Lua
Merge branch 'restruct' of http://github.com/angband/angband into restruct-lua
Fix bug reporting Lua errors by remembering how the Lua stack actually works.
Swap directions in constants to the more-tradtional 'North is up'
More object methods, etc for Lua, some tidying up.