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

Update core to support custom registration template.