CHEF-5086/COOK-3890: Add reboot_pending? to core DSL

Accessible in recipes and in resources, can be used to detect if Windows
needs to reboot to finish a software installation or operating system
update.