Merge pull request #28 from olevole/10.1.0

fixes for lose jail database when change nodename: reported by Daniel Po...
Merge pull request #29 from olevole/10.1.0

wip
Merge pull request #30 from olevole/master

merge pull request