Added mechanics to XjcMojo. Added shared components for simplified Pattern creation and File utilities. Added unit tests.
Merged in changes from server.