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
OK I will rewrite it in a bit