Move registering handles from the model to the actor.
Fixes #235
The actor was setting a pid prior to the before_create hooks on the
model were called. This meant that any object created via the actor was
not getting queued for handle generation.