added few helper methods and exceptions unit tests
small change in unit tests and InvalidParameterApiException
Merge branch 'consumer-sprint27-bugid-95788' of github.com:Wikia/app into bugid-95788