more type hinting for method arguments.
bolstered up input validation in saveSession() action  and improved granularity of error message output in case of failure. refs #3202
added error messages for failed input validation in saveSession() action to lang file. refs #3202