fixes #5708: #nil? is now an allowed method inside of Host and Token jails
Fixes #3468 - Move token expiry to scope to avoid FK issues
fixes #1892 - auto generate provisioning tokens based on build state
Use tokens for discovery of host identity during installation
- fixes #1069- fixes #1720- refs #969