issue with $smcFunc['ucwords'] not being loaded

- addresses an issue with the upgrade script where $smcFunc['ucwords'] was not defined for that process
- tested using the SMF 2.1 upgrade an a local installation of SMF 2.0.9
- also edited some grammar within comments in that area of code (let's = let us)

Signed-off-by: -Underdog- github.underdog@gmail.com
- removed line break at end of file

Signed-off-by: -Underdog- github.underdog@gmail.com
missing second parameter for closure 

- second parameter needed for closure else result is syntax error

Signed-off-by: -Underdog- github.underdog@gmail.com
- removed line break at end of file

Signed-off-by: -Underdog- github.underdog@gmail.com
improper use of closure

- variables passed into the anonymous function from the parent scope has
to be via the use language construct

Signed-off-by: -Underdog- github.underdog@gmail.com
Merge pull request #2405 from Underdog-01/patch-9

fixed improper use of closure