Added requirejs and nodejs compatibility on module files

Conflicts:
	fightly/server/modules/core/position.js
	fightly/server/modules/map/actions.js
	fightly/server/modules/unit/actions.js