Error message changes to nc_query

Added error message information for database queries that will include
calling file and linenumber.  If neither are provided to the query, then
they will simply return Unknown for calling file and line number.