Make the error messages in the requireData() library routine
more helpful.   Move session_start() into requireData() so it
can cleverly check for Cookie, GET, or POST data and not start
a session when we know for sure that if a session does not exist
it is a major problem.