CAS-1251: Move the JsonExceptionView resolver to the management webapp module, make sure only ajax exceptions are handled by the resolver. Fixed a bug with the management webapp's prefix and cleaned up the poms.

Ported Scott's HtmlEscapedExceptionMessageExceptionHandler.
CAS-1251: Move the JsonExceptionView resolver to the management webapp

Addressed issues raised by Scott. Fixed the import location, used a direct "return null" instead of a stale variable and removed the message key constant.
Merge branch 'master' into CAS-1251

Conflicts:
	cas-server-webapp/pom.xml
CAS-1188 : Make SAML support as an optional module for CAS server
organize imports, clean dependencies and add SAML views to cas-server-webapp
CAS-1251: Move the JsonExceptionView resolver to the management webapp

Fixed exclusions tag issue with pom that had made its way into the commit via a malformed merge with master.
Added an empty line after the import statements in ajax exc resolver class.
Merge pull request #191 from Unicon/CAS-1251

CAS-1251: Move the JsonExceptionView resolver to the management webapp
CAS-1259 Report ERROR status when Monitor throws unchecked exception.
CAS-1251: Possible Cross-Site Scripting on /login using execution parameter

Follow-up work on the previous commit around CAS-1251, this commit generalizes NoSuchFlowExecutionExceptionResolver to handle FlowExecutionRepositoryException is a common ancestor to webflow exceptions. Hiding these exceptions, such as BadlyFormattedFlowExecutionKeyException, would allow us to present the error page to the user as opposed to having the error rendered directly on the page which may include JS code passed to the /login CAS URI.

The HTMLEscaped handler is now removed, since it was originally intended for the webapp and not the management webapp.
Merge pull request #198 from serac/cas-1259

CAS-1259 Report ERROR status when Monitor throws unchecked exception.
CAS-1251: Possible Cross-Site Scripting on /login using execution parameter

Fixed tests
Merge pull request #199 from Unicon/CAS-1251-1

CAS-1251: Possible Cross-Site Scripting on /login using execution parameter
CAS-1251: Possible Cross-Site Scripting on /login using execution parameter

Fixed an issue with the webflow exception resolver to also ignore badly formatted key exception, since it will result in an infinite redirect loop.
Merge pull request #200 from Unicon/CAS-1251-1

CAS-1251: Possible Cross-Site Scripting on /login using execution parameter
CAS-1262: Remove TGT dependency on TicketGrantingTicketImpl
CAS-1263: Cloning a RegisteredService should not have to require a cast
CAS-1262: TGT id, which cannot be null, uniquely identifies the ticket such that its hash code is suitable as the whole ticket's hash code.
CAS-1257: Allow support for custom attribute filters when validating a service

By factoring out the attribute filtering process out of CASImpl, support could be made available via custom injection of filters that would do more other than making sure a registered service received the right set of allowed attributes. This commit places the mapping of filters and services inside the services management tool, and provide a regex attr filter.
CAS-1263: Removed the unneeded cast.
CAS-1257: Cleaned up the regex attr filter to no longer be an extension of the default.