Renamed some variables forgotten when adding the battleground interface

- Follow-up to 35c131c
- Fixes bugreport:7721, thanks to purityz, Dastgir Pojee
  http://hercules.ws/board/tracker/issue-7721-lastest-update-make-map-crashing-on-battleground/

Signed-off-by: Haru <haru@dotalux.com>
Renamed more forgotten variables during interface conversions

(related: b9c8f57)
Most renames are trivial (just to avoid shadowing global variables, even
if they currently did no harm), but there were some cases of partly
renamed variables that caused some NULL checks to always pass and who
knows what could have been happened when they were too subtle to make
the application crash.

Also corrected some potentially unsafe macro definitions

Signed-off-by: Haru <haru@dotalux.com>
Renamed iDuel interface to duel

- Note to plugin developers:
  change your GET_SYMBOL("iDuel") to GET_SYMBOL("duel").

Signed-off-by: Haru <haru@dotalux.com>
Renamed local variables that would conflict with a rename of iTimer to timer

Signed-off-by: Haru <haru@dotalux.com>
Renamed iTimer interface to timer.
Also removed duplicate mentions of timer within calls to shorten.
Merge branch 'master' of https://github.com/HerculesWS/Hercules

Conflicts:
	src/map/chrif.c
	src/map/clif.c
	src/map/homunculus.c
	src/map/pet.c
	src/map/script.c
	src/map/skill.c
	src/map/status.c
All clear.
Renamed local variables that would conflict with a rename of iStatus to status

Signed-off-by: Haru <haru@dotalux.com>
Renamed variables that would conflict with a rename of iMap to map

Note to plugin developers: if you were importing the "map", you'll need
to change it to "maplist"

Signed-off-by: Haru <haru@dotalux.com>
Renamed iStatus interface to status

Signed-off-by: Haru <haru@dotalux.com>
Renamed iMap interface to map

Signed-off-by: Haru <haru@dotalux.com>
Corrected maptypeproperty2 implementation with all the available info

- Fixes an issue with the 2013 clients showing an attack cursor over
  other players even outside PvP. Special thanks to ossi0110 for
  reporting the issue and running tests for me; Ind and Yommy for their
  assistance.
- Related: issue #70

Signed-off-by: Haru <haru@dotalux.com>
HPM: Skill.c Completed

Moved missing vars and declarations of interest into the interface.

Signed-off-by: shennetsind <ind@henn.et>
HPM: Battle.c Completed

Moved missing vars and declarations of interest into the interface

Signed-off-by: shennetsind <ind@henn.et>
HPM: Atcommand.c Completed

Moved missing vars and declarations of interest into the interface.

Signed-off-by: shennetsind <ind@henn.et>
HPM: Buyingstore.c Complete

Moved missing vars and declarations of interest into the interface.

Signed-off-by: shennetsind <ind@henn.et>
HPM: Chat.c Completed

Moved missing vars and declarations of interest into the interface, removed duplicate mentions of chat within calls to shorten wherever it made sense to, and renamed some members to ease reading.

Signed-off-by: shennetsind <ind@henn.et>
HPM: Chrif.c Completed

Moved missing vars and declarations of interest into the interface.

Signed-off-by: shennetsind <ind@henn.et>
HPM: Elemental.c Completed

Moved missing vars and declarations of interest into the interface, removed duplicate mentions of elemental within calls to shorten wherever it made sense to.
And on a minor thing updated the duel.h header given the file had been previously modified (when the duel interface was implemented)

Signed-off-by: shennetsind <ind@henn.et>
HPM: Guild.c Completed

Moved missing vars and declarations of interest into the interface.

Signed-off-by: shennetsind <ind@henn.et>
Rewritten 'athena-start' startup script

- Added a 'status' command line option to check the server's status
- Improved reliability of the start and stop actions, in case the
  pidfiles are present but no longer valid
- Visual improvements
- Note: server messages (other than Error class) are now hidden by
  default.  To show them, look for the line with a "- Show server
  output" and "- Hide server output (default)" comment and toggle them

Signed-off-by: Haru <haru@dotalux.com>