fixed issues with resource access in towncenter.js
Add build condition

Only when it reach the building xy position, the building start
Getting ready to merge
towncenter accesses resources correctly now
towncenter builds hoplite correctly instead of villager
Re-added new unit sprites
Implementing new sprites
Infantry and Villager having animation issues

Their modes are switching from "move" to "idle" and back every frame
Merge pull request #24 from Jbtyson/Units

Units