No forced AbstractWebApplication Dependency

As proposed in issue #5, a patch that would loosen the dependency of an AbstractWebApplication object.
Merge remote-tracking branch 'joomla/pr/6'
Code style fixes on last PR