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
Resultprinter / Some renaming