Revert "Exclude some file types."

This reverts commit 61a9310c61a1b60d3e2bc7ec7daab85f77f7f849.
Remove STATICFILES_EXCLUDED_APPS.
Tidy up the code.
Create dynamically build file.
Use EmptyPromise.
Fix factory names.