/etc/rc.d/rc.shutdown : Add function_ask_to_save AND

function_ask_to_save_dialog functions for the odd PUPMODE 3, 7, 13.
Has two switches as variables that are set "1" :
WANT_FUNCTION_ASK_TO_SAVE if set not "1" would return 0 and save session.
WANT_ONLY_IF_RAMSAVEINTERVAL_ZERO if set not "1" would always ask.