Added methods giving orders to character

This fixes #2 where attacking the closest building or character only
made the character go to it by making orders explicit.
Added checks when attacking

This fixes #3 where a character could attack a building from within. Since
a character in a building is safe, this would have made the player unable
to defend her own house.
Fixed left click on material in own building