InternalParseBeforeLinks tidy

- Add `FactboxBuilder`
- Tidy `FactboxCache` and remove dependency and inheritance

Changes include (to use `PHPUnit_Framework_TestCase`):
- `FactboxCacheTest`
- `InternalParseBeforeLinksTest`
- `OutputPageParserOutputTest`
- `SkinAfterContentTest`
Merge pull request #416 from SemanticMediaWiki/hooks-tidy

InternalParseBeforeLinks tidy
Move some classes to appropriate NS
Merge pull request #417 from SemanticMediaWiki/hooks-tidy

Move some classes to appropriate NS
FileUpload NS
Merge pull request #418 from SemanticMediaWiki/hooks-tidy

FileUpload NS
Add SMW JobQueue statistics

Allow some insights about SMW related jobs and display them via
`Special:Statistics`. `$smwgShowJobQueueStatistics` can be used to
disable the display.