Fix issues with self-registration and persisting audit trail

Fixed issues with the audit trail not persisting, and with registration
information not being correctly stored in the in the audit trail for
validation when completing the registration.
Add HTML5/Canvas gallery demo

Including the original component-based demo, plus the script for the
newer demo code which is much cleaner and more versatile (read, doesn't
quite work yet).  Also including a subset of crystal icons.
Including missing demo file

Include missing demo file