Create libcdr.rb

Reference: https://github.com/Homebrew/homebrew/pull/31162
Resubmitting PR instead of rebasing master (not sure how to do that in git yet so I'm using the github gui)
I'm not sure if the bottles work correctly. They most likely may need to be redone.
After speaking with @mistydemeo yesterday, I made more attempts to contact the Libreoffice dev @dtardon via IRC (Freenode #documentationliberation-dev) to advise on the situation. Nothing yet. The test as it is now, was a suggestion by @dtardon via a chat on IRC. He is not famliar with Homebrew so the test may not be appropriate as per a recent PR I made for libmspub https://github.com/Homebrew/homebrew/pull/31215