pom.xml and NewLineStringReturner fixes

Altered pom.xml to use jdk7 to build project and replaced '\n' character with corresponding system property.