Added sysinfo (System Information) functionalities

- More informative messages are displayed during startup, to make it
  easier to identify what system and environment Hercules is running.
- Git/SVN revision detection is improved, separating the source version
  (cached at compile time) from the runtime version, in case the user
  updated their working copy without recompiling the server. Git
  version detection is also more reliable, in case a non-default branch
  is used.
- The get_revision script command has been removed (as it was useless
  to begin with, after the switch to git). An alternative will be
  provided later, for feature-probing purposes.
- The patch was tested under Linux (Gentoo / gcc 4.7 on i686 and x86_64,
  Debian 6 / gcc 4.4 on i686, Raspbian / gcc 4.6 on armv6l, CentOS 5 /
  gcc 4.1 on i686, CentOS 6 / gcc 4.4 on x86_64, Linux Mint 15 / gcc 4.7
  on x86_64, OS X Mountain Lion / clang 5.0 and gcc 4.8 on x86_64,
  Cygwin-NT-5.1/gcc 4.8 on i686, FreeBSD 8 / gcc 4.2 on i386, FreeBSD 9
  / gcc 4.2 on amd64, FreeBSD 10 / clang 3.3 on amd64, NetBSD 5 / gcc
  4.1 on i386, NetBSD 6 / gcc 4.5 on amd64, OpenBSD 5 / gcc 4.2 on
  amd64, Solaris 11 / gcc 4.5 on i86pc, Windows 7 / Visual Studio 2012
  on x86, Windows 8 / Visual Studio 2010 on WOW64, Windows 8.1 / Visual
  Studio 2013 on WOW64.

Signed-off-by: Haru <haru@dotalux.com>
Follow-up to 916aa169daeda32c823c0c704b86d1be1fb831b7

- Stat server update to go along with the sysinfo changes

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

Replaced some tabs in the middle of the line with spaces.
Thanks to KeiKun for pointing out #ifdef<tab>_COMMON_SYSINFO_H_ and
making me realize how many of them were there.

Signed-off-by: Haru <haru@dotalux.com>
Added version screen to the Travis output

- This helps identifying the build system as well as to ensure that the
  produced executables can start without crashing.

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Rewritten NSI_UNIQUE_ID system to get rid of the cross-database interreg dependency

- Removes the need for map-server to access the interreg table to store the last used ID.
- Login, char and map databases can now be hosted separately.
- Note: the unique_id structure has changed, and it now contains the generator character ID in its upper 32 bits.
- Now NSI_UNIQUE_ID System is enabled always

Special thanks to Haruna.
# Several minor changes in atcommands
1. Reallocated and added checks in @jumpto, @jump, @mapmove in order to increase performance
 * Checks are now made to avoid unnecessary lookups and unnecessary warps
2. Corrected return failure values of @zeny
3. Added messages to
 * ATclearcart
   > Warns that it's not possible to clean a cart while vending
 * ATshowmobs
   > Asks user to enter a mob name/id and warns if the mob name is invalid
 * ATgstorage
   > Warns when another guild member is using the gstorage
# Fixed issue where while using storage/gstorage and then refreshing would close the storage
but only for the client, the server wouldn't now and this would cause the guild storage to
remain locked and the character without ability to do anything.
#Fixed issue: 8147
* http://hercules.ws/board/tracker/issue-8147-map-zone-dbconf-pvpon-crash/
#Added check to prevent issue where player would start autotrading from savepoint if killed in a
map where pvp/gvg was active
Add official support for lvl 175
- Add official Job stats bonus and fix old class (pre-re and re got same stats bonus)
- Add official stats points for lvl 150 to 175
- Add new max_parameter for Extend Classes max stats 125
- Change max stats points for the 3rd classes to 130
- Add official Experience table for all classes
Add Star Gladiator official renewal exp table

Special thanks to Yommy and Muad_Dib for official info
Added sysinfo to the exported HPM symbols

Signed-off-by: Haru <haru@dotalux.com>
Added support for enum bg_queue_types to the HPMHookGen

- Fixes a HPM Hook generator warning in battlegrounds.c

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Update official healing items script
ItemDB SQL Sync

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Corrected some issues in 69ca0aa and 446ce4a

Signed-off-by: Haru <haru@dotalux.com>
Added some vim-related files to gitignore

Signed-off-by: Haru <haru@dotalux.com>
Merge pull request #272 from hemagx/master

Rewritten NSI_UNIQUE_ID system
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed issue: 8150
* http://hercules.ws/board/tracker/issue-8150-cash-shop-updating-quantity-bug/
* Also fixed issue where when using ATitem to get more than one pet egg would result on getting only one egg
* Changed packet 0x3880 structure now it also contains pet class and dropped flag from this packet, it was pointless
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>