added a lot of code and implementation for an xp cal implementation. this commit was tested such that the basic form validation checking and reporting is functional. Real functionality comes later with Exchang SSO research