Return datetime object in nf_get_(begin/end)_date, prevent user error

Return datetime object in nf_get_(begin/end)_date instead of returning string.  Also reverses begin and end dates for submission viewing if the user enters them in the wrong order.