Give the routes the capability to define their listening method.
Give the routes the capability to define custom route specific middlewares.
Minor: add missing trailing semicolon.
Fixes #104: Created a system to load environment settings for applications handling inheritance and multiple file merging.
Made sure that even if we try to add applications before starting the serve, NODE_ENV falls back to 'production'.
Rename environemnt settings variable to make more sense upon reading the code.
Minor comment adjustments.
Replaced lodash with utils lib.
Changed how we handle dynamic setting files requirement.
Moved default environment definition to constructure Server construction method.
Changed the order of loading files to make local environments run later.
Merge branch 'dev' into fs/environment-settings
Pull #117: Changed variable 'applications' name to 'applicationPaths'
Pull #117: Changed variable 'settingFiles' name to 'settingsFiles'
Pull #117: Changed order of loading local setting files.
Pull #117: Fixed typo 'enviroment'.
Pull #117: Changed name of environment variables to the more meaningful 'mode'.
Added generic local settings file loader.
Fixes #121: Adding "matchAll" field to contexts, when it's set to true, the context will use an AND approach instead of OR for matching conditions.
Issue: #121: Adding "And" and "Or" condition types to enable nesting conditions.