DB seeding: only update tribes in db after all users have been added during seeding (#998)
DB seeding: only update tribes in db after all users have been added during seeding (#998)

* Only update tribes in db after all users have been added

* Move updating tribes to separate method

* Cleanly disconnect from database to exit

* Use promise returned by find instead of callback during user seeding

* Update to use es6 const and let syntax

* Update user seeding to use ES6 arrow functions

* Update function name spelling error in user seeding

* Use ES6 destructuring syntax for promise all results in user seeding

* Switch user seeding to use ES6 async/await

* Switch let variables to consts for user seeding

* Only request number of users instead of all the user data for seeding

* Move the tribes global variable to function scope in user seeding

* fix comment spacing linting errors

* fix missed comment spacing errors

* Call promise resolve instead of non-existant done method in user seeding

* require Cities json file instead of using fs and JSON parse

* Add comment blocks and rename function args to better document

* Resolve promise immediately to avoid hang when no tribes exist in the database

Trustroots/trustroots,Trustroots/trustroots,Trustroots/trustroots,Trustroots/trustroots