Added required error handler.
Merge branch 'master' of https://github.com/RobertLarsen/CTFd
Fixed bug. Only last delivered flag can be stolen...it was the other way
around.