Fix line splitting in test to make it work properly on Windows
Use splitlines instead of split('\n') where appropriate
Merge pull request #25 from mdboom/misc/splitlines

Use splitlines instead of split('\n') where appropriate
Fix string -> bytes for Windows testing
Merge pull request #710 from astrofrog/utils/fix-failing-windows-api-page-test

Python 3 Windows test failure for find_api_page