Made some preparations for advanced rules and for multiple games
Helper for saving objects to db, and games finnish if all pieces are placed
Removed white space
Merge branch 'master' into addAdvancedMode

Conflicts:
	server/groups.js
Ability to select between rulesets