Court clears politician over posts with pictures of beheaded journalist, captive being run over by truck and Jordanian pilot being burned alive in a cage