Add getLength/getLevelAt/countParagraphs().
Second argument to Paragraph constructor is now an options hash.

This allows us to more gracefully handle the many options of libicu.
Fix typo in libicu configure arguments.
Support the ubidi_setLine() function; add tests.