Add missing medium-editor package.
Refactor contenteditable element lifecycle methods.
Clean up app config and helper methods.

* Separate path helpers.
* Parse gulp arguments for environment.
* Introduce production environment checks.
Flesh out credential passing.