Adding Validation To The APIs

Adding a validation method to the APIs so that it can validate certain actions against repositories.  Eg APIs that manipulate GIT should not apply to repositories that are not backed by GIT (ISO repos for example)