Fix several problems caused by ill-formed documents.
The line number is not calculated correctly for DOS-style line breaks.
Fix error reporting in remove_possible_simple_key. The problem is caused by the document:
+foo: &A bar
Raise an error for a complex key which is not indented correctly, for instance:
Powered by Trac 0.12.2
By Edgewall Software.
Visit the Trac open source project athttp://trac.edgewall.org/