Updated User Class. UI bug fixes.

User Class - added a counter for soldiers number, created rangedAttack
and meleeAttack methods to support the Battlefield phases, updateArmy
method also updates soldiers number var.
UI - There was a bug when creating a Barrack with MAX_SLOTS that the
addslotbutton would appear.