Add array dependencies to Translator functions

The $replace array throughout the Translator functions eventually ends up as an argument for a new Collection class which has this as a dependency. We should make sure it's an array that's being passed before continuing with any of these functions.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Add array dependency to download function

Since this needs to be an array, it's better to set it as a dependency.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Various documentation fixes

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Fix spacing and property assignment sequence

No need for crazy spacing and property assignment is from shortest to longest.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Fix some more spaces.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Merge pull request #1531 from driesvints/bugfix/overall-fixes

Documentation and dependency fixes
Fix incorrect variables used
Merge pull request #1538 from Ruby184/fix/incorrect-variables-used

Fix incorrect variables used
Merge branch '4.0'