converting some sqls tatements to fluent
complete migration of SiteWideMessagesTask to use fluent sql