Move try return logic to end of function
Combine two similar regexs
Add reference test with newlines
Add Scientific Papers
Fix incorrect logic for just Ibid.

A reference is just Ibid. if and only if all references leading up to the
current one are Ibids and they all share the same page.