pdnsmgrd: cleanup initialization code
pdnsmgrd: cleanup manager action handling

Fixes #65.