Added resource gathering

-when player rolls dice, server correctly distributes resources to all
players.
-fixed UI issue that would hide controls when they should be visible
-fixed iterator bug in settlements.js
Added back-end dependency on lodash
Started work on validating settlement locations.