per-instance max-width for popup instances

Hi there,

I had a similar request for popup.el as auto-complete/popup-el#28, and I thought I'd contribute the per-instance based max-width, in a separate pull request as indicated. I also thought @laynor's addition to choosing the maximum width as ratio or character based value was cool so I added that in as well.