RED-141 Remove all the code and tables relating to the old pinnedNotes endpoint