Revert "Moved order of sending gender"

This reverts commit b2741a6c49eafb9f19f9cd6625836d85d31980b3.
Create database using a single transaction

Takes the time required to do initial database creation down from
16 to 0.2 seconds on the Raspberry Pi.
Fixed codeblocks compile for linux targets
Set the current map when executing being callbacks

The on_death and on_remove callbacks where not being executed in the
context of any map. Now they execute in the context of the map of the
being.

Reviewed-by: Erik Schilling
Rename AutoAttack to Attack
Work on (Auto)Attack system.

During the implementation bjorn and I agreed to limit the number of attacks that
can be used in the same tick to one. This makes a lot of stuff easier and the
client cannot display two frames at the same time

Things done:
 - Implemented setting of attacks when equipping/unequipping items
 - Single place where the xml attack node is parsed
 - Finished attack logic
 - Unified the attack handling of monsters and characters
 - Added a global cooldown after attack use
   (not only for next use of same attack)
 - Removed the temponary attributes for the monster attack values
 - Priorities for all attacks
 - Rewrote the attack core:
  - Attacks now have this attributes:
   - warmup -> time a attack needs after starting it to actually deal the damage
   - cooldown -> time a attack needs after dealing damage before another attack
                 can be used
   - reuse -> time before the same attack can be used again

  - If no attack is performed at the moment the following is done:
   - make a list with all ready attacks
   - check for attack that has the necessarily range and highest priority
   - start this attack (inform client about it)
   - when warmup is finished -> trigger damage
   - when cooldown is finished -> allow to use other (or the same if reusetimer
                                  allows) attacks
TODO:
 - sync client with this to allow better timed animations
Added script binds for getting attack information

New binds:
- Damage:
 - id
 - skill
 - base
 - delta
 - cth
 - element
 - type
 - truestrike
 - range
- Attack:
 - priority
 - cooldown
 - warmup
 - global_cooldown
 - damage
 - on_attack
- MonsterClass:
 - attacks
- ItemClass:
 - attacks
Added Vulnerabilities for monsters

You can now actually use the already used node in the monsters.xml
Monsters can have different vulnerabillities against elements:
<vulnerabillity element="earth" factor="2.0" />
This will double damage of the element earth to this monster.
Fixed syntax error (added missing '{')
Added support for Lua 5.2

Should still work against Lua 5.1 as well.
Micro-optimizations for pushing strings to Lua

Use lua_pushliteral and lua_pushlstring instead of lua_pushstring, which
avoids Lua having to determine the length of the string.
Replaced 'unsigned int' with 'unsigned'

Same thing, but shorter.
Replaced EventListener with signals based on libsigc++

This replaces the rather hard to understand event dispatcher with a
probably even harder to understand templated library, but fortunately
we can rely on the available documentation.

Hopefully it will also help with the readability of our code and with
adding additional signals to other classes.

Added libsigc++ to README and Travis CI configuration.

Reviewed-by: Erik Schilling
Removed unused functor obj_name_is
Made sure in-inventory trigger is called at pickup

Also added checks for invalid item and zero amount

Reviewed-by: bjorn.
Update some Doxygen settings

Enabled source code browsing and excluded enet from the docs by only
including the 'src' directory.
Removed deprecated and unused Storage::flushSkill
Small documentation updates for Point and Rectangle

This documentation used to be accurate, until Point was merged with the
Position class in commit 8ff3e6674c1d4fc05fc1ba87f42484689fca0879.

Also fixed a typo.
Used a typedef to make callback syntax more readable
Small simplification in Monster::died