More PDO conversion and cleanup of spurious errors from PDO logging. A few functions are producing no data on return and it was interpreting that as an error even though it was a valid response. We need to be careful on straight select statements not to log an error if there is nothing returned. #164