Refactored global resources/parameters passing.

Now using Slim's Dependency-Injection functionality to store references to globally available resources.
Refactored MyRequest constructor params.