Enforced battle uniqueness at DB level
User's tanks now display correct stats.
Moved permission templates to new file