Adjust a few comments, also use path.resolve for sails.config.paths.tmp
Use local appPath since sails.config.appPath doesnt exist yet
Clean up dependencies in moduleloader and use path.resolve(...) instead of string math