test for #417
dicts should not be used to check against in get_defined_names, because they cannot contain a defined name (lists and tuples can) so just ignore them., fixes #417
test for #424, issues with form feeds
new splitlines implementation to get rid of the ugly splitlines we now have as well as (partially) the issue with form feeds
use the new implementation of splitlines all over the code, fixes #424