Error handling in MoodleToken class

An list of errors for each service token will be maintained.