Added support for optional line separator on the lines method.

Added support for optional line separator on the lines method. 
Updated tests and docs to reflect this change. Fixes #305
I guess `""` may not make sense as a line break, but what about `0`?