Tidied up code inspection issues. Refactored InvalidComposerFileExceptions to have error messages in one place.
Moved functions out of src directory.
Removed dead files.
Moved BuildConfig into being built by a provider, so that users can substitute their own way of managing BuildConfigs reasonably easy.