Report error for User.confirm()

See https://github.com/strongloop/loopback/issues/377
Merge branch 'master' into feature/fix-issue-377
Merge pull request #394 from strongloop/feature/fix-issue-377

Report error for User.confirm()