Made author/editor parsing more flexible.

Closes #1.