Word contractions in Shakespeare's plays
Solution 1:
Those are generally known as poetic tropes. When writing in iambic pentameter, it is necessary to alternate stressed and unstressed syllables, and measure feet to each line. Many of the contractions you see used by Shakespeare and other writers of the period are being employed to make the words fit a particular rhyming or verse scheme.
Some examples are given here, including this line by Donne:
That I / may rise / and stand / o'er throw / me and bend
You can see how the contraction makes the fourth foot work properly.