Added support for personalization vector for dangling nodes

Hi,
Here is my attempt at adding the support for personalization vectors for dangling nodes. The default behaviour is implemented via R default function flags, although there is also some #ifdef code in prpack.cpp to provide a copy of the reset vector if the resetdangling vector is absent.

Testing is not yet thorough, but everything compiles and installs, checks pass and documentation updated.

Thanks for your help, and I hope this patch makes life easier for you.
I'm not sure about the naming of this argument; I don't use R too much but I feel that the "preferred" way to separate words in parameter names is to use a dot, so it should be `personalized.dangling`.