COOK-3890: Add reboot_pending? to core DSL

https://tickets.opscode.com/browse/COOK-3890