fix coding cookie detection logic
fix detection of the coding cookie when it is on the second line of the file (fixes #330)
add test for detecting coding cookie with CRLF newlines
bump version to 2.3.3.dev1