Update core to support custom registration template.
Merge pull request #464 from gsn/master

Update core to support custom registration template.