Added roundedrect function to add rounded rectangles to PDF

Added roundedrect function to add rounded rectangles to PDF (preserved UNIX style line breaks). Sorry I had to redo pull request from scratch. Thanks!