CAS-1442: Add support for CHANGE_AFTER_RESET flag

https://issues.jasig.org/browse/CAS-1442

Also allow for a method of extending the error map.