Implemented weapon bonus system and fixed bugs

This pull request has the following changes:

* Implemented, updated and further tested weapon bonus system.
* The bugs mentioned before no longer occur and everything computes properly. The computations no longer continually miss after the first attack, nor are there any errors in drawing the proper stats prior and during battle.
* Fixed a bug(?) with the practice_dummy entity, to compute the stats.