Drop unused function param and variables

* Updated method documentation
* Removed unused variables
* Removed an unused function parameter
More documentation fixes and unused variable removal
A few more unused $app definitions
Merge pull request #939 from Wikia/RemoveUnusedParameter

Drop unused function param and variables